diff options
author | mukesh agrawal <quiche@google.com> | 2015-09-21 17:05:06 -0700 |
---|---|---|
committer | mukesh agrawal <quiche@google.com> | 2015-09-21 17:32:35 -0700 |
commit | d48e8140b17d9f04e9848e1e638c483450a5dcfc (patch) | |
tree | 4712049b76d86294d8332a2cc47f09a43194e310 /profile.h | |
parent | b9c5c2e50ec08aca1763b828afb33247be389b6b (diff) | |
download | shill-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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(); |