Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(902)

Unified Diff: chrome/browser/profiles/profile_manager.h

Issue 1376683003: Android: Mark some profile code as non-mobile. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/browser_shutdown.cc ('k') | chrome/browser/profiles/profile_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,
« no previous file with comments | « chrome/browser/browser_shutdown.cc ('k') | chrome/browser/profiles/profile_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698