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

Unified Diff: chrome/browser/sync/signin_manager_unittest.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
« no previous file with comments | « chrome/browser/sync/signin_manager.cc ('k') | chrome/browser/sync/syncable/model_type.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/signin_manager_unittest.cc
===================================================================
--- chrome/browser/sync/signin_manager_unittest.cc (revision 91968)
+++ chrome/browser/sync/signin_manager_unittest.cc (working copy)
@@ -8,6 +8,7 @@
#include "chrome/browser/net/gaia/token_service_unittest.h"
#include "chrome/browser/password_manager/encryptor.h"
#include "chrome/browser/webdata/web_data_service.h"
+#include "chrome/common/chrome_notification_types.h"
#include "chrome/common/net/gaia/gaia_urls.h"
#include "chrome/test/signaling_task.h"
#include "chrome/test/testing_profile.h"
@@ -22,10 +23,11 @@
virtual void SetUp() {
TokenServiceTestHarness::SetUp();
manager_.reset(new SigninManager());
- google_login_success_.ListenFor(NotificationType::GOOGLE_SIGNIN_SUCCESSFUL,
+ google_login_success_.ListenFor(
+ chrome::NOTIFICATION_GOOGLE_SIGNIN_SUCCESSFUL,
+ Source<Profile>(profile_.get()));
+ google_login_failure_.ListenFor(chrome::NOTIFICATION_GOOGLE_SIGNIN_FAILED,
Source<Profile>(profile_.get()));
- google_login_failure_.ListenFor(NotificationType::GOOGLE_SIGNIN_FAILED,
- Source<Profile>(profile_.get()));
URLFetcher::set_factory(&factory_);
}
« no previous file with comments | « chrome/browser/sync/signin_manager.cc ('k') | chrome/browser/sync/syncable/model_type.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698