Chromium Code Reviews| Index: chrome/browser/chromeos/profiles/profile_helper.h |
| diff --git a/chrome/browser/chromeos/profiles/profile_helper.h b/chrome/browser/chromeos/profiles/profile_helper.h |
| index 3dd899ec00285699a349307059d17fd3e20e44a6..3d1506b3afd61566d397f1814af4165a3bc18a8b 100644 |
| --- a/chrome/browser/chromeos/profiles/profile_helper.h |
| +++ b/chrome/browser/chromeos/profiles/profile_helper.h |
| @@ -55,9 +55,6 @@ class ProfileHelper |
| // Returns Profile instance that corresponds to |user_id_hash|. |
| static Profile* GetProfileByUserIdHash(const std::string& user_id_hash); |
| - // Returns profile dir that corresponds to a --login-profile cmd line switch. |
| - static base::FilePath GetProfileDirByLegacyLoginProfileSwitch(); |
| - |
| // Returns profile path that corresponds to a given |user_id_hash|. |
| static base::FilePath GetProfilePathByUserIdHash( |
| const std::string& user_id_hash); |
| @@ -72,9 +69,6 @@ class ProfileHelper |
| // could not be extracted from |profile|. |
| static std::string GetUserIdHashFromProfile(Profile* profile); |
| - // Returns profile dir for the user identified by |user_id|. |
| - static base::FilePath GetUserProfileDirByUserId(const std::string& user_id); |
| - |
| // Returns user profile dir in a format [u-user_id_hash]. |
| static base::FilePath GetUserProfileDir(const std::string& user_id_hash); |
| @@ -125,6 +119,8 @@ class ProfileHelper |
| // Returns NULL if User is not created. |
| user_manager::User* GetUserByProfile(Profile* profile); |
| + std::string GetUserIdHashByUserIdForTests(const std::string& user_id) const; |
|
xiyuan
2014/08/15 16:38:43
nit: Could we make this a static helper so that te
dzhioev (left Google)
2014/08/20 20:21:35
Done.
|
| + |
| private: |
| friend class DeviceSettingsTestBase; |
| friend class extensions::ExtensionGarbageCollectorChromeOSUnitTest; |