OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef COMPONENTS_BROWSING_DATA_CORE_CLEAR_BROWSING_DATA_TAB_H_ | 5 #ifndef COMPONENTS_BROWSING_DATA_CORE_CLEAR_BROWSING_DATA_TAB_H_ |
6 #define COMPONENTS_BROWSING_DATA_CORE_CLEAR_BROWSING_DATA_TAB_H_ | 6 #define COMPONENTS_BROWSING_DATA_CORE_CLEAR_BROWSING_DATA_TAB_H_ |
7 | 7 |
8 namespace browsing_data { | 8 namespace browsing_data { |
9 | 9 |
10 // This enum is used to differentiate CBD preferences from the basic and | 10 // This enum is used to differentiate CBD preferences from the basic and |
11 // advanced tab and manage their state separately. It is important that all | 11 // advanced tab and manage their state separately. It is important that all |
12 // preferences and the timeperiod selection have the same type. The default | 12 // preferences and the timeperiod selection have the same type. The default |
13 // value for dialogs without separate tabs is advanced. | 13 // value for dialogs without separate tabs is advanced. |
14 // TODO(dullweber): Maybe rename "ADVANCED" to "DEFAULT" because it is used in | 14 // TODO(dullweber): Maybe rename "ADVANCED" to "DEFAULT" because it is used in |
15 // multiple places without a differentiation between advanced and basic. | 15 // multiple places without a differentiation between advanced and basic. |
16 // | 16 // |
| 17 // Do not change the values here, as they are used for UMA histograms. |
| 18 // |
17 // A Java counterpart will be generated for this enum. | 19 // A Java counterpart will be generated for this enum. |
18 // GENERATED_JAVA_ENUM_PACKAGE: org.chromium.chrome.browser.browsing_data | 20 // GENERATED_JAVA_ENUM_PACKAGE: org.chromium.chrome.browser.browsing_data |
19 enum class ClearBrowsingDataTab { BASIC, ADVANCED, NUM_TYPES }; | 21 enum class ClearBrowsingDataTab { BASIC, ADVANCED, NUM_TYPES }; |
20 | 22 |
21 } // namespace browsing_data | 23 } // namespace browsing_data |
22 | 24 |
23 #endif // COMPONENTS_BROWSING_DATA_CORE_CLEAR_BROWSING_DATA_TAB_H_ | 25 #endif // COMPONENTS_BROWSING_DATA_CORE_CLEAR_BROWSING_DATA_TAB_H_ |
OLD | NEW |