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

Unified Diff: components/gcm_driver/gcm_driver.h

Issue 562423002: Clear GCM data when the user clears cookies and other site data (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix ExtensionBrowsingDataTest tests Created 6 years, 3 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/gcm_driver.h
diff --git a/components/gcm_driver/gcm_driver.h b/components/gcm_driver/gcm_driver.h
index c10d9f16769ddfc445e1ce1c9a2a16b7fad7469a..f13d3f30881661f5beecd990de63228954848aaa 100644
--- a/components/gcm_driver/gcm_driver.h
+++ b/components/gcm_driver/gcm_driver.h
@@ -72,9 +72,10 @@ 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.
+ // Call this method when the user signs in to or out of a GAIA account.
// TODO(jianli): To be removed when sign-in enforcement is dropped.
fgorski 2014/09/12 20:15:53 do you need the todo?
jianli 2014/09/12 22:13:10 Removed. The original comment was not exactly righ
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.

Powered by Google App Engine
This is Rietveld 408576698