| Index: chrome/browser/profiles/profile_manager.h
|
| diff --git a/chrome/browser/profiles/profile_manager.h b/chrome/browser/profiles/profile_manager.h
|
| index 14158eb93eb9f637faf63cc3f827b933d9e9ef08..16d048cc4b364c0b169e0f1a47763e147c7fe5f5 100644
|
| --- a/chrome/browser/profiles/profile_manager.h
|
| +++ b/chrome/browser/profiles/profile_manager.h
|
| @@ -166,11 +166,13 @@ class ProfileManager : public base::NonThreadSafe,
|
| // profile specfic desktop shortcuts.
|
| ProfileShortcutManager* profile_shortcut_manager();
|
|
|
| +#if !defined(OS_ANDROID) && !defined(OS_IOS)
|
| // Schedules the profile at the given path to be deleted on shutdown. If we're
|
| // deleting the last profile, a new one will be created in its place, and in
|
| // that case the callback will be called when profile creation is complete.
|
| void ScheduleProfileForDeletion(const base::FilePath& profile_dir,
|
| const CreateCallback& callback);
|
| +#endif
|
|
|
| // Autoloads profiles if they are running background apps.
|
| void AutoloadProfiles();
|
| @@ -265,10 +267,12 @@ class ProfileManager : public base::NonThreadSafe,
|
| // creation and adds it to the set managed by this ProfileManager.
|
| Profile* CreateAndInitializeProfile(const base::FilePath& profile_dir);
|
|
|
| +#if !defined(OS_ANDROID) && !defined(OS_IOS)
|
| // Schedules the profile at the given path to be deleted on shutdown,
|
| // and marks the new profile as active.
|
| void FinishDeletingProfile(const base::FilePath& profile_dir,
|
| const base::FilePath& new_active_profile_dir);
|
| +#endif
|
|
|
| // Registers profile with given info. Returns pointer to created ProfileInfo
|
| // entry.
|
| @@ -318,7 +322,6 @@ class ProfileManager : public base::NonThreadSafe,
|
| ProfileManager* profile_manager_;
|
| DISALLOW_COPY_AND_ASSIGN(BrowserListObserver);
|
| };
|
| -#endif // !defined(OS_ANDROID) && !defined(OS_IOS)
|
|
|
| // If the |loaded_profile| has been loaded successfully (according to
|
| // |status|) and isn't already scheduled for deletion, then finishes adding
|
| @@ -331,6 +334,7 @@ class ProfileManager : public base::NonThreadSafe,
|
| const CreateCallback& original_callback,
|
| Profile* loaded_profile,
|
| Profile::CreateStatus status);
|
| +#endif // !defined(OS_ANDROID) && !defined(OS_IOS)
|
|
|
| // Object to cache various information about profiles. Contains information
|
| // about every profile which has been created for this instance of Chrome,
|
|
|