summaryrefslogtreecommitdiff
path: root/profile.h
diff options
context:
space:
mode:
authormukesh agrawal <quiche@google.com>2015-09-21 17:05:06 -0700
committermukesh agrawal <quiche@google.com>2015-09-21 17:32:35 -0700
commitd48e8140b17d9f04e9848e1e638c483450a5dcfc (patch)
tree4712049b76d86294d8332a2cc47f09a43194e310 /profile.h
parentb9c5c2e50ec08aca1763b828afb33247be389b6b (diff)
downloadshill-d48e8140b17d9f04e9848e1e638c483450a5dcfc.tar.gz
shill: Profile: change ctor arg type from string to FilePath
The |user_storage_directory| argument to the Profile ctor is stored inside the Profile object as a FilePath, and the DefaultProfile ctor takes its path argument as a FilePath. Both of these facts argue for |user_storage_directory| to be passed in as a FilePath, rather than a string. Make it so. Bug: None TEST=unit tests Change-Id: I6094aeb44de96ccd0312c5311bdd195ee64cf510
Diffstat (limited to 'profile.h')
-rw-r--r--profile.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/profile.h b/profile.h
index 040919e2..944371c1 100644
--- a/profile.h
+++ b/profile.h
@@ -75,7 +75,7 @@ class Profile : public base::RefCounted<Profile> {
Metrics* metrics,
Manager* manager,
const Identifier& name,
- const std::string& user_storage_directory,
+ const base::FilePath& user_storage_directory,
bool connect_to_rpc);
virtual ~Profile();