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

Unified Diff: chrome/browser/browsing_data/browsing_data_remover.h

Issue 1663983003: Add a time period dropdown to the CBD dialog on Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: static Created 4 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 | « chrome/browser/android/preferences/pref_service_bridge.cc ('k') | chrome/chrome.gyp » ('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 17d173a6576e8615fa760ec48ffc144c5cd7f808..0047a5fcfda7f51dc6875d51a193d224fe637513 100644
--- a/chrome/browser/browsing_data/browsing_data_remover.h
+++ b/chrome/browser/browsing_data/browsing_data_remover.h
@@ -62,12 +62,20 @@ class BrowsingDataRemover : public KeyedService
{
public:
// Time period ranges available when doing browsing data removals.
+ // TODO(msramek): As this is now reused on Android, we should move it
+ // to browsing_data_counter_utils.h (and rename appropriately), so that
+ // all fundamental types related to browsing data on all platforms are in
+ // one place.
+ //
+ // A Java counterpart will be generated for this enum.
+ // GENERATED_JAVA_ENUM_PACKAGE: org.chromium.chrome.browser
enum TimePeriod {
LAST_HOUR = 0,
LAST_DAY,
LAST_WEEK,
FOUR_WEEKS,
- EVERYTHING
+ EVERYTHING,
+ TIME_PERIOD_LAST = EVERYTHING
};
// Mask used for Remove.
« no previous file with comments | « chrome/browser/android/preferences/pref_service_bridge.cc ('k') | chrome/chrome.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698