| Index: chrome/browser/profiles/profile_manager.h
|
| diff --git a/chrome/browser/profiles/profile_manager.h b/chrome/browser/profiles/profile_manager.h
|
| index 1b2ba421ffad50d93203d07e115a36a9e98a5017..8756258c404f00d62446a29209ff632c2de1ea19 100644
|
| --- a/chrome/browser/profiles/profile_manager.h
|
| +++ b/chrome/browser/profiles/profile_manager.h
|
| @@ -150,34 +150,11 @@ class ProfileManager : public base::NonThreadSafe,
|
| // Indicate that the import process for |profile| has completed.
|
| void OnImportFinished(Profile* profile);
|
|
|
| - // ------------------ static utility functions -------------------
|
| -
|
| - // Returns the path to the default profile directory, based on the given
|
| - // user data directory.
|
| - static base::FilePath GetDefaultProfileDir(
|
| - const base::FilePath& user_data_dir);
|
| -
|
| - // Returns the path to the preferences file given the user profile directory.
|
| - static base::FilePath GetProfilePrefsPath(const base::FilePath& profile_dir);
|
| -
|
| // If a profile with the given path is currently managed by this object,
|
| // return a pointer to the corresponding Profile object;
|
| // otherwise return NULL.
|
| Profile* GetProfileByPath(const base::FilePath& path) const;
|
|
|
| - // Activates a window for |profile| on the desktop specified by
|
| - // |desktop_type|. If no such window yet exists, or if |always_create| is
|
| - // true, this first creates a new window, then activates
|
| - // that. If activating an exiting window and multiple windows exists then the
|
| - // window that was most recently active is activated. This is used for
|
| - // creation of a window from the multi-profile dropdown menu.
|
| - static void FindOrCreateNewWindowForProfile(
|
| - Profile* profile,
|
| - chrome::startup::IsProcessStartup process_startup,
|
| - chrome::startup::IsFirstRun is_first_run,
|
| - chrome::HostDesktopType desktop_type,
|
| - bool always_create);
|
| -
|
| // Profile::Delegate implementation:
|
| virtual void OnProfileCreated(Profile* profile,
|
| bool success,
|
| @@ -202,9 +179,6 @@ class ProfileManager : public base::NonThreadSafe,
|
| const CreateCallback& callback,
|
| bool is_managed);
|
|
|
| - // Register multi-profile related preferences in Local State.
|
| - static void RegisterPrefs(PrefRegistrySimple* registry);
|
| -
|
| // Returns a ProfileInfoCache object which can be used to get information
|
| // about profiles without having to load them from disk.
|
| ProfileInfoCache& GetProfileInfoCache();
|
| @@ -219,9 +193,6 @@ class ProfileManager : public base::NonThreadSafe,
|
| void ScheduleProfileForDeletion(const base::FilePath& profile_dir,
|
| const CreateCallback& callback);
|
|
|
| - // Checks if multiple profiles is enabled.
|
| - static bool IsMultipleProfilesEnabled();
|
| -
|
| // Autoloads profiles if they are running background apps.
|
| void AutoloadProfiles();
|
|
|
|
|