| Index: chrome/browser/profiles/profile_manager.h
|
| diff --git a/chrome/browser/profiles/profile_manager.h b/chrome/browser/profiles/profile_manager.h
|
| index bcbbfc35266f77b34cc80c044532efa646aeaa68..95be10089e6f888da71e45caa3f8002c1f35f9b5 100644
|
| --- a/chrome/browser/profiles/profile_manager.h
|
| +++ b/chrome/browser/profiles/profile_manager.h
|
| @@ -54,7 +54,8 @@ class ProfileManager : public base::NonThreadSafe,
|
| // ProfileManager if it doesn't already exist. This method returns NULL if
|
| // the profile doesn't exist and we can't create it.
|
| // The profile used can be overridden by using --login-profile on cros.
|
| - Profile* GetDefaultProfile(const FilePath& user_data_dir);
|
| + // Virtual for testing.
|
| + virtual Profile* GetDefaultProfile(const FilePath& user_data_dir);
|
|
|
| // DEPRECATED: DO NOT USE unless in ChromeOS.
|
| // Same as instance method but provides the default user_data_dir as well.
|
| @@ -95,7 +96,8 @@ class ProfileManager : public base::NonThreadSafe,
|
| // Get the Profile last used (the Profile to which owns the most recently
|
| // focused window) with this Chrome build. If no signed profile has been
|
| // stored in Local State, hand back the Default profile.
|
| - Profile* GetLastUsedProfile(const FilePath& user_data_dir);
|
| + // Virtual for testing.
|
| + virtual Profile* GetLastUsedProfile(const FilePath& user_data_dir);
|
|
|
| // Same as instance method but provides the default user_data_dir as well.
|
| static Profile* GetLastUsedProfile();
|
|
|