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

Unified Diff: components/gcm_driver/fake_gcm_driver.h

Issue 445683003: [GCM] Exposing persistence of account mappings in GCM Driver (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updates based on self review Created 6 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
Index: components/gcm_driver/fake_gcm_driver.h
diff --git a/components/gcm_driver/fake_gcm_driver.h b/components/gcm_driver/fake_gcm_driver.h
index f5b0a43e7d97e598c1e90739b81a5a3aa9acf6d6..cfe625586d13b408a3ab282d42d2e1bc1dc8978b 100644
--- a/components/gcm_driver/fake_gcm_driver.h
+++ b/components/gcm_driver/fake_gcm_driver.h
@@ -21,8 +21,6 @@ class FakeGCMDriver : public GCMDriver {
virtual void AddAppHandler(const std::string& app_id,
GCMAppHandler* handler) OVERRIDE;
virtual void RemoveAppHandler(const std::string& app_id) OVERRIDE;
-
- // GCMDriver implementation:
virtual void OnSignedIn() OVERRIDE;
virtual void Purge() OVERRIDE;
virtual void Enable() OVERRIDE;
@@ -34,6 +32,9 @@ class FakeGCMDriver : public GCMDriver {
bool clear_logs) OVERRIDE;
virtual void SetGCMRecording(const GetGCMStatisticsCallback& callback,
bool recording) OVERRIDE;
+ virtual void UpdateAccountMapping(
+ const AccountMapping& account_mapping) OVERRIDE;
+ virtual void RemoveAccountMapping(const std::string& account_id) OVERRIDE;
protected:
// GCMDriver implementation:

Powered by Google App Engine
This is Rietveld 408576698