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

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 91971)
+++ chrome/browser/chromeos/login/google_authenticator.cc (working copy)
@@ -24,6 +24,7 @@
#include "chrome/browser/chromeos/login/user_manager.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/profiles/profile_manager.h"
+#include "chrome/common/chrome_notification_types.h"
#include "chrome/common/chrome_paths.h"
#include "chrome/common/net/gaia/gaia_auth_fetcher.h"
#include "chrome/common/net/gaia/gaia_constants.h"
@@ -165,7 +166,7 @@
if (CrosLibrary::Get()->GetCryptohomeLibrary()->MountForBwsi(&mount_error)) {
AuthenticationNotificationDetails details(true);
NotificationService::current()->Notify(
- NotificationType::LOGIN_AUTHENTICATION,
+ chrome::NOTIFICATION_LOGIN_AUTHENTICATION,
NotificationService::AllSources(),
Details<AuthenticationNotificationDetails>(&details));
consumer_->OnOffTheRecordLoginSuccess();
@@ -275,7 +276,7 @@
// Send notification of success
AuthenticationNotificationDetails details(true);
NotificationService::current()->Notify(
- NotificationType::LOGIN_AUTHENTICATION,
+ chrome::NOTIFICATION_LOGIN_AUTHENTICATION,
NotificationService::AllSources(),
Details<AuthenticationNotificationDetails>(&details));
@@ -350,7 +351,7 @@
// Send notification of failure
AuthenticationNotificationDetails details(false);
NotificationService::current()->Notify(
- NotificationType::LOGIN_AUTHENTICATION,
+ chrome::NOTIFICATION_LOGIN_AUTHENTICATION,
NotificationService::AllSources(),
Details<AuthenticationNotificationDetails>(&details));
LOG(WARNING) << "Login failed: " << error.GetErrorString();
« no previous file with comments | « chrome/browser/chromeos/login/existing_user_controller.cc ('k') | chrome/browser/chromeos/login/login_html_dialog.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698