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 fbbf9ef8a50016919a59bb5dcbb287bff32eb577..e6b99db380fd8f7de9e3f48ebe4ee8b8415b0b0c 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,9 @@ class ProfileHelper |
// Returns NULL if User is not created. |
user_manager::User* GetUserByProfile(Profile* profile); |
+ static std::string GetUserIdHashByUserIdForTesting( |
+ const std::string& user_id); |
+ |
private: |
friend class CryptohomeAuthenticatorTest; |
friend class DeviceSettingsTestBase; |