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

Unified Diff: chrome/browser/chromeos/login/ownership_service.cc

Issue 7327007: Moving notification types which are chrome specific to a new header file chrome_notification_type... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' 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
Index: chrome/browser/chromeos/login/ownership_service.cc
===================================================================
--- chrome/browser/chromeos/login/ownership_service.cc (revision 91971)
+++ chrome/browser/chromeos/login/ownership_service.cc (working copy)
@@ -32,7 +32,7 @@
ownership_status_(OWNERSHIP_UNKNOWN) {
notification_registrar_.Add(
this,
- NotificationType::OWNER_KEY_FETCH_ATTEMPT_SUCCEEDED,
+ chrome::OWNER_KEY_FETCH_ATTEMPT_SUCCEEDED,
NotificationService::AllSources());
}
@@ -149,10 +149,10 @@
return;
}
-void OwnershipService::Observe(NotificationType type,
+void OwnershipService::Observe(int type,
const NotificationSource& source,
const NotificationDetails& details) {
- if (type.value == NotificationType::OWNER_KEY_FETCH_ATTEMPT_SUCCEEDED) {
+ if (type == chrome::OWNER_KEY_FETCH_ATTEMPT_SUCCEEDED) {
SetStatus(OWNERSHIP_TAKEN);
notification_registrar_.RemoveAll();
} else {
« no previous file with comments | « chrome/browser/chromeos/login/ownership_service.h ('k') | chrome/browser/chromeos/login/parallel_authenticator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698