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

Unified Diff: chrome/browser/ui/webui/options/personal_options_handler.cc

Issue 7329034: Multi-Profiles: Enable multi-profiles by default for views ui (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Multi-Profiles: Enable multi-profiles by default for views ui Created 9 years, 5 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/ui/webui/chrome_web_ui_factory.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/options/personal_options_handler.cc
===================================================================
--- chrome/browser/ui/webui/options/personal_options_handler.cc (revision 91957)
+++ chrome/browser/ui/webui/options/personal_options_handler.cc (working copy)
@@ -8,7 +8,6 @@
#include "base/basictypes.h"
#include "base/callback.h"
-#include "base/command_line.h"
#include "base/path_service.h"
#include "base/stl_util-inl.h"
#include "base/stringprintf.h"
@@ -48,8 +47,7 @@
#endif // defined(TOOLKIT_GTK)
PersonalOptionsHandler::PersonalOptionsHandler() {
- const CommandLine& browser_command_line = *CommandLine::ForCurrentProcess();
- multiprofile_ = browser_command_line.HasSwitch(switches::kMultiProfiles);
+ multiprofile_ = ProfileManager::IsMultipleProfilesEnabled();
#if defined(OS_CHROMEOS)
registrar_.Add(this,
NotificationType::LOGIN_USER_IMAGE_CHANGED,
« no previous file with comments | « chrome/browser/ui/webui/chrome_web_ui_factory.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698