Index: components/browsing_data/core/clear_browsing_data_tab.h |
diff --git a/components/browsing_data/core/clear_browsing_data_tab.h b/components/browsing_data/core/clear_browsing_data_tab.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c6c0b5bc2cdd0d7d78bcaba8b4f647b6fc112616 |
--- /dev/null |
+++ b/components/browsing_data/core/clear_browsing_data_tab.h |
@@ -0,0 +1,21 @@ |
+// Copyright 2017 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef COMPONENTS_BROWSING_DATA_CORE_CLEAR_BROWSING_DATA_TAB_H_ |
+#define COMPONENTS_BROWSING_DATA_CORE_CLEAR_BROWSING_DATA_TAB_H_ |
+ |
+namespace browsing_data { |
+ |
+// This enum is used to differentiate CBD preferences from the basic and |
+// advanced tab and manage their state separately. It is important that all |
+// preferences and the timeperiod selection have the same type. The default |
+// value for dialogs without separate tabs is advanced. |
+// |
+// A Java counterpart will be generated for this enum. |
+// GENERATED_JAVA_ENUM_PACKAGE: org.chromium.chrome.browser.browsing_data |
+enum class ClearBrowsingDataTab { BASIC, ADVANCED, NUM_TYPES }; |
+ |
+} // namespace browsing_data |
+ |
+#endif // COMPONENTS_BROWSING_DATA_CORE_CLEAR_BROWSING_DATA_TAB_H_ |