OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
msramek
2017/02/08 10:55:56
nit: 2017
dullweber
2017/02/08 23:03:19
Done.
| |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef COMPONENTS_BROWSING_DATA_CORE_BROWSING_DATA_ENUMS_H_ | |
6 #define COMPONENTS_BROWSING_DATA_CORE_BROWSING_DATA_ENUMS_H_ | |
7 | |
8 // Enums shared between browsing_data_counter and browsing_data_utils. | |
9 namespace browsing_data { | |
10 | |
11 // This enum is used to differentiate CBD preferences from the basic and | |
12 // advanced tab and manage their state separately. It is important that all | |
13 // preferences and the timeperiod selection have the same type. | |
14 // | |
15 // A Java counterpart will be generated for this enum. | |
16 // GENERATED_JAVA_ENUM_PACKAGE: org.chromium.chrome.browser.browsing_data | |
17 enum class ClearBrowsingDataPreferenceType { | |
msramek
2017/02/08 10:55:56
All methods manipulating this enum are in utils.h.
dullweber
2017/02/08 23:03:18
The problem was that adding this enum to utils.h c
msramek
2017/02/09 18:16:48
Right... yeah, I don't think there's a workaround.
| |
18 DEFAULT, | |
msramek
2017/02/08 10:55:56
I'm wondering if we need the concept of DEFAULT; w
dullweber
2017/02/08 23:03:18
That works as well. I will add a comment that the
| |
19 BASIC, | |
20 ADVANCED, | |
21 NUM_TYPES | |
22 }; | |
23 | |
24 } // namespace browsing_data | |
25 | |
26 #endif // COMPONENTS_BROWSING_DATA_CORE_BROWSING_DATA_ENUMS_H_ | |
OLD | NEW |