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

Unified Diff: chrome/browser/services/gcm/gcm_client_mock.h

Issue 183013007: [GCM] Stop/restart GCM when the state is forced off/on (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Patch to land Created 6 years, 10 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 | « no previous file | chrome/browser/services/gcm/gcm_client_mock.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/services/gcm/gcm_client_mock.h
diff --git a/chrome/browser/services/gcm/gcm_client_mock.h b/chrome/browser/services/gcm/gcm_client_mock.h
index 23fc7c41a216eae107bdeba19ed8dd77dc65d855..fef49d73e8c74d7c1d1861ad0080277b7a6f4f3d 100644
--- a/chrome/browser/services/gcm/gcm_client_mock.h
+++ b/chrome/browser/services/gcm/gcm_client_mock.h
@@ -16,6 +16,7 @@ class GCMClientMock : public GCMClient {
enum Status {
UNINITIALIZED,
LOADED,
+ STOPPED,
CHECKED_OUT
};
@@ -45,6 +46,7 @@ class GCMClientMock : public GCMClient {
url_request_context_getter,
Delegate* delegate) OVERRIDE;
virtual void Load() OVERRIDE;
+ virtual void Stop() OVERRIDE;
virtual void CheckOut() OVERRIDE;
virtual void Register(const std::string& app_id,
const std::string& cert,
« no previous file with comments | « no previous file | chrome/browser/services/gcm/gcm_client_mock.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698