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

Unified Diff: chrome/browser/invalidation/fake_invalidation_service.cc

Issue 225403021: Extract Profile-independent GCMService from GCMProfileService (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Pass scoped_refptr as const reference. Created 6 years, 8 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/invalidation/fake_invalidation_service.cc
diff --git a/chrome/browser/invalidation/fake_invalidation_service.cc b/chrome/browser/invalidation/fake_invalidation_service.cc
index 8c34f0016d2d6ea230a0f398cb067a1c854e7061..f8f59071b87dbd06f8dddc1418480096d00ccc4e 100644
--- a/chrome/browser/invalidation/fake_invalidation_service.cc
+++ b/chrome/browser/invalidation/fake_invalidation_service.cc
@@ -20,6 +20,10 @@ OAuth2TokenService* FakeInvalidationAuthProvider::GetTokenService() {
return &token_service_;
}
+std::string FakeInvalidationAuthProvider::GetUsername() {
+ return "fake@example.com";
+}
+
std::string FakeInvalidationAuthProvider::GetAccountId() {
return "fake@example.com";
}

Powered by Google App Engine
This is Rietveld 408576698