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

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

Issue 7878003: Enable multi-profiles on M16 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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/about_flags.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/profile_manager.cc
diff --git a/chrome/browser/profiles/profile_manager.cc b/chrome/browser/profiles/profile_manager.cc
index 19eb803de25ad5cdfc073e090085604c8931fce2..5574b99fe0f36493c816134460f0ba89921179e0 100644
--- a/chrome/browser/profiles/profile_manager.cc
+++ b/chrome/browser/profiles/profile_manager.cc
@@ -573,7 +573,11 @@ void ProfileManager::ScheduleProfileForDeletion(const FilePath& profile_dir) {
// static
bool ProfileManager::IsMultipleProfilesEnabled() {
+#if defined(TOOLKIT_VIEWS) || defined(OS_MACOSX)
+ return true;
+#else
return CommandLine::ForCurrentProcess()->HasSwitch(switches::kMultiProfiles);
+#endif
}
ProfileManagerWithoutInit::ProfileManagerWithoutInit(
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698