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

Unified Diff: chrome/browser/signin/signin_manager_fake.cc

Issue 10823208: Reverting this as it causes browser tests on the Linux ChromiumOS builder to fail. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 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/signin/signin_manager_fake.h ('k') | chrome/browser/sync/profile_sync_service_mock.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/signin/signin_manager_fake.cc
===================================================================
--- chrome/browser/signin/signin_manager_fake.cc (revision 150390)
+++ chrome/browser/signin/signin_manager_fake.cc (working copy)
@@ -4,13 +4,8 @@
#include "chrome/browser/signin/signin_manager_fake.h"
-#include "chrome/common/chrome_notification_types.h"
-#include "content/public/browser/notification_service.h"
+FakeSigninManager::FakeSigninManager() {}
-FakeSigninManager::FakeSigninManager(Profile* profile) {
- profile_ = profile;
-}
-
FakeSigninManager::~FakeSigninManager() {}
void FakeSigninManager::StartSignIn(const std::string& username,
@@ -34,13 +29,9 @@
void FakeSigninManager::SignOut() {
authenticated_username_.clear();
- content::NotificationService::current()->Notify(
- chrome::NOTIFICATION_GOOGLE_SIGNED_OUT,
- content::Source<Profile>(profile_),
- content::NotificationService::NoDetails());
}
// static
ProfileKeyedService* FakeSigninManager::Build(Profile* profile) {
- return new FakeSigninManager(profile);
+ return new FakeSigninManager();
}
« no previous file with comments | « chrome/browser/signin/signin_manager_fake.h ('k') | chrome/browser/sync/profile_sync_service_mock.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698