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

Unified Diff: chrome/common/chrome_notification_types.h

Issue 10828032: Add DeviceSettingsService. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Oops. Created 8 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
Index: chrome/common/chrome_notification_types.h
diff --git a/chrome/common/chrome_notification_types.h b/chrome/common/chrome_notification_types.h
index 8d88e677e10f40b02635ec30eb42ce0017683588..a610b8fde7732021681b7e97fbc20ef630b4d3fb 100644
--- a/chrome/common/chrome_notification_types.h
+++ b/chrome/common/chrome_notification_types.h
@@ -1055,6 +1055,12 @@ enum NotificationType {
// Sent after UserManager checked ownership status of logged in user.
NOTIFICATION_OWNERSHIP_CHECKED,
+ // Sent by DeviceSettingsService to indicate that the ownership status
+ // changed. If you can, please use DeviceSettingsService::Observer instead.
+ // Other singleton-based services can't use that because Observer
+ // unregistration is impossible due to unpredictable deletion order.
+ NOTIFICATION_OWNERSHIP_STATUS_CHANGED,
+
// This is sent to a ChromeOS settings observer when a system setting is
// changed. The source is the CrosSettings and the details a std::string of
// the changed setting.
« chrome/browser/policy/cloud_policy_validator_unittest.cc ('K') | « chrome/chrome_tests.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698