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

Unified Diff: components/gcm_driver/gcm_driver.h

Issue 617003005: Keep the GCM data intact when the user signs out of the profile (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 2 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 | « components/gcm_driver/fake_gcm_driver.cc ('k') | components/gcm_driver/gcm_driver_android.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/gcm_driver/gcm_driver.h
diff --git a/components/gcm_driver/gcm_driver.h b/components/gcm_driver/gcm_driver.h
index 34391acaf7a514976811cdbd54fad776963b9455..87345178662a479528e9e764bd3c647f7ce838a9 100644
--- a/components/gcm_driver/gcm_driver.h
+++ b/components/gcm_driver/gcm_driver.h
@@ -72,9 +72,9 @@ class GCMDriver {
// been called, no other GCMDriver methods may be used.
virtual void Shutdown();
- // Call this method when the user signs in to a GAIA account.
- // TODO(jianli): To be removed when sign-in enforcement is dropped.
+ // Called when the user signs in to or out of a GAIA account.
virtual void OnSignedIn() = 0;
+ virtual void OnSignedOut() = 0;
// Removes all the cached and persisted GCM data. If the GCM service is
// restarted after the purge, a new Android ID will be obtained.
« no previous file with comments | « components/gcm_driver/fake_gcm_driver.cc ('k') | components/gcm_driver/gcm_driver_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698