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

Unified Diff: chrome/browser/ui/app_list/app_list_service_disabled.cc

Issue 2762173003: Remove IsNewProfileManagement and EnableNewProfileManagementForTesting (Closed)
Patch Set: Fix compile (add back an include) Created 3 years, 9 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
Index: chrome/browser/ui/app_list/app_list_service_disabled.cc
diff --git a/chrome/browser/ui/app_list/app_list_service_disabled.cc b/chrome/browser/ui/app_list/app_list_service_disabled.cc
index 56c87a72b7cc5df55f81305f0bdf8595d929ff70..a2ffa9a198ee3d2db99a6f76c86fdaa38172feb5 100644
--- a/chrome/browser/ui/app_list/app_list_service_disabled.cc
+++ b/chrome/browser/ui/app_list/app_list_service_disabled.cc
@@ -21,7 +21,6 @@
#include "chrome/browser/ui/user_manager.h"
#include "chrome/common/chrome_switches.h"
#include "chrome/common/url_constants.h"
-#include "components/signin/core/common/profile_management_switches.h"
#include "ui/base/page_transition_types.h"
#endif
@@ -81,10 +80,6 @@ class AppListServiceDisabled : public AppListService {
#if defined(TOOLKIT_VIEWS)
bool IsProfileSignedOut(Profile* profile) {
- // The signed out status only makes sense at the moment in the context of the
- // --new-profile-management flag.
- if (!switches::IsNewProfileManagement())
- return false;
ProfileAttributesEntry* entry;
bool has_entry =
g_browser_process->profile_manager()
« no previous file with comments | « chrome/browser/profiles/profiles_state.cc ('k') | chrome/browser/ui/cocoa/profiles/profile_chooser_controller_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698