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

Unified Diff: chrome/browser/chromeos/login/google_authenticator.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/google_authenticator.cc
===================================================================
--- chrome/browser/chromeos/login/google_authenticator.cc (revision 91880)
+++ chrome/browser/chromeos/login/google_authenticator.cc (working copy)
@@ -165,7 +165,7 @@
if (CrosLibrary::Get()->GetCryptohomeLibrary()->MountForBwsi(&mount_error)) {
AuthenticationNotificationDetails details(true);
NotificationService::current()->Notify(
- NotificationType::LOGIN_AUTHENTICATION,
+ chrome::LOGIN_AUTHENTICATION,
NotificationService::AllSources(),
Details<AuthenticationNotificationDetails>(&details));
consumer_->OnOffTheRecordLoginSuccess();
@@ -275,7 +275,7 @@
// Send notification of success
AuthenticationNotificationDetails details(true);
NotificationService::current()->Notify(
- NotificationType::LOGIN_AUTHENTICATION,
+ chrome::LOGIN_AUTHENTICATION,
NotificationService::AllSources(),
Details<AuthenticationNotificationDetails>(&details));
@@ -350,7 +350,7 @@
// Send notification of failure
AuthenticationNotificationDetails details(false);
NotificationService::current()->Notify(
- NotificationType::LOGIN_AUTHENTICATION,
+ chrome::LOGIN_AUTHENTICATION,
NotificationService::AllSources(),
Details<AuthenticationNotificationDetails>(&details));
LOG(WARNING) << "Login failed: " << error.GetErrorString();

Powered by Google App Engine
This is Rietveld 408576698