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

Unified Diff: chrome/browser/extensions/api/push_messaging/push_messaging_api.h

Issue 218903005: Make push messaging not create InvalidationService for login and guest (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Make code resilient against tests that do not create the Default profile first. Created 6 years, 9 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/extensions/api/push_messaging/push_messaging_api.h
diff --git a/chrome/browser/extensions/api/push_messaging/push_messaging_api.h b/chrome/browser/extensions/api/push_messaging/push_messaging_api.h
index 8b02af2f0aaf26523d5e3f6ff2f24401b59dc66a..264a7663143ea42c14b2d2ea1bfe68e621dd55ec 100644
--- a/chrome/browser/extensions/api/push_messaging/push_messaging_api.h
+++ b/chrome/browser/extensions/api/push_messaging/push_messaging_api.h
@@ -27,10 +27,6 @@ namespace content {
class BrowserContext;
}
-namespace invalidation {
-class InvalidationAuthProvider;
-}
-
namespace extensions {
class PushMessagingInvalidationMapper;
@@ -99,18 +95,12 @@ class PushMessagingGetChannelIdFunction
const OAuth2TokenService::Request* request,
const GoogleServiceAuthError& error) OVERRIDE;
- // Check if the user is signed into chrome.
- bool IsUserLoggedIn();
-
// ObfuscatedGiaiaIdFetcher::Delegate implementation.
virtual void OnObfuscatedGaiaIdFetchSuccess(const std::string& gaia_id)
OVERRIDE;
virtual void OnObfuscatedGaiaIdFetchFailure(
const GoogleServiceAuthError& error) OVERRIDE;
- // Convenience helper to get the invalidation auth provider.
- invalidation::InvalidationAuthProvider* GetInvalidationAuthProvider();
-
scoped_ptr<ObfuscatedGaiaIdFetcher> fetcher_;
bool interactive_;
scoped_ptr<OAuth2TokenService::Request> fetcher_access_token_request_;
« no previous file with comments | « chrome/browser/chromeos/profiles/profile_util.cc ('k') | chrome/browser/extensions/api/push_messaging/push_messaging_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698