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

Unified Diff: chrome/browser/notifications/message_center_settings_controller.cc

Issue 53383002: ChromeOS: Remove ProfileHelper::IsSigninProfile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix TestingProfile. Created 7 years, 2 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/notifications/message_center_settings_controller.cc
diff --git a/chrome/browser/notifications/message_center_settings_controller.cc b/chrome/browser/notifications/message_center_settings_controller.cc
index b59967c65cafd9e0ff161f2b653c6be02c8f473c..7e8529c399244d0aa3f41edbb882443e656cc683 100644
--- a/chrome/browser/notifications/message_center_settings_controller.cc
+++ b/chrome/browser/notifications/message_center_settings_controller.cc
@@ -398,7 +398,7 @@ void MessageCenterSettingsController::RebuildNotifierGroups() {
// In ChromeOS, the login screen first creates a dummy profile which is not
// actually used, and then the real profile for the user is created when
// login (or turns into kiosk mode). This profile should be skipped.
- if (chromeos::ProfileHelper::IsSigninProfile(group->profile()))
+ if (group->profile()->IsLoginProfile())
continue;
#endif
notifier_groups_.push_back(group.release());
« no previous file with comments | « chrome/browser/chromeos/profiles/profile_helper.cc ('k') | chrome/browser/policy/profile_policy_connector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698