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

Unified Diff: chrome/browser/browsing_data/browsing_data_remover.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: Address comments 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
« no previous file with comments | « no previous file | chrome/browser/browsing_data/browsing_data_remover.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browsing_data/browsing_data_remover.h
diff --git a/chrome/browser/browsing_data/browsing_data_remover.h b/chrome/browser/browsing_data/browsing_data_remover.h
index 7a2b0631507d4858624cd31d2e3678f405937359..3871455e713cb56d3a1cea2ef2aa7f5afd201932 100644
--- a/chrome/browser/browsing_data/browsing_data_remover.h
+++ b/chrome/browser/browsing_data/browsing_data_remover.h
@@ -93,6 +93,9 @@ class BrowsingDataRemover
#if defined(OS_ANDROID)
REMOVE_APP_BANNER_DATA = 1 << 15,
#endif
+#if !defined(OS_ANDROID)
+ REMOVE_GCM = 1 << 16,
+#endif
// The following flag is used only in tests. In normal usage, hosted app
// data is controlled by the REMOVE_COOKIES flag, applied to the
// protected-web origin.
@@ -109,6 +112,9 @@ class BrowsingDataRemover
#if defined(OS_ANDROID)
REMOVE_APP_BANNER_DATA |
#endif
+#if !defined(OS_ANDROID)
+ REMOVE_GCM |
+#endif
REMOVE_CHANNEL_IDS,
// Includes all the available remove options. Meant to be used by clients
« no previous file with comments | « no previous file | chrome/browser/browsing_data/browsing_data_remover.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698