OLD | NEW |
---|---|
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_SUBRESOURCE_FILTER_CORE_COMMON_ACTIVATION_LIST_H_ | 5 #ifndef COMPONENTS_SUBRESOURCE_FILTER_CORE_COMMON_ACTIVATION_LIST_H_ |
6 #define COMPONENTS_SUBRESOURCE_FILTER_CORE_COMMON_ACTIVATION_LIST_H_ | 6 #define COMPONENTS_SUBRESOURCE_FILTER_CORE_COMMON_ACTIVATION_LIST_H_ |
7 | 7 |
8 #include <iosfwd> | 8 #include <iosfwd> |
9 | 9 |
10 namespace subresource_filter { | 10 namespace subresource_filter { |
11 | 11 |
12 enum class ActivationList { | 12 enum class ActivationList { |
13 NONE, | 13 NONE, |
14 SOCIAL_ENG_ADS_INTERSTITIAL, | 14 SOCIAL_ENG_ADS_INTERSTITIAL, |
15 PHISHING_INTERSTITIAL, | 15 PHISHING_INTERSTITIAL, |
16 LAST = PHISHING_INTERSTITIAL, | 16 SUBRESOURCE_FILTER_ONLY, |
17 LAST = SUBRESOURCE_FILTER_ONLY, | |
vakh (use Gerrit instead)
2017/02/10 03:00:12
qq: I may be misinformed, apologies: didn't we dec
melandory
2017/02/14 17:40:33
yep, sorry. Fixed.
| |
17 }; | 18 }; |
18 | 19 |
19 // For logging use only. | 20 // For logging use only. |
20 std::ostream& operator<<(std::ostream& os, const ActivationList& type); | 21 std::ostream& operator<<(std::ostream& os, const ActivationList& type); |
21 | 22 |
22 } // namespace subresource_filter | 23 } // namespace subresource_filter |
23 | 24 |
24 #endif // COMPONENTS_SUBRESOURCE_FILTER_CORE_COMMON_ACTIVATION_LIST_H_ | 25 #endif // COMPONENTS_SUBRESOURCE_FILTER_CORE_COMMON_ACTIVATION_LIST_H_ |
OLD | NEW |