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

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

Issue 7861025: Enable multiprofiles by default on Mac and Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: about:flags 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 956d37a7a417cb21dff69e504e19650b6372fbda..3586a41177351111f92cca0b7de1969584932c70 100644
--- a/chrome/browser/profiles/profile_manager.cc
+++ b/chrome/browser/profiles/profile_manager.cc
@@ -570,7 +570,11 @@ void ProfileManager::ScheduleProfileForDeletion(const FilePath& profile_dir) {
// static
bool ProfileManager::IsMultipleProfilesEnabled() {
+#if defined(OS_MACOSX) || (defined(TOOLKIT_VIEWS) && !defined(OS_CHROMEOS))
+ 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