OLD | NEW |
1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 // Safe Browsing preferences and some basic utility functions for using them. | 5 // Safe Browsing preferences and some basic utility functions for using them. |
6 | 6 |
7 #ifndef COMPONENTS_SAFE_BROWSING_DB_SAFE_BROWSING_PREFS_H_ | 7 #ifndef COMPONENTS_SAFE_BROWSING_COMMON_SAFE_BROWSING_PREFS_H_ |
8 #define COMPONENTS_SAFE_BROWSING_DB_SAFE_BROWSING_PREFS_H_ | 8 #define COMPONENTS_SAFE_BROWSING_COMMON_SAFE_BROWSING_PREFS_H_ |
9 | 9 |
10 #include "base/feature_list.h" | 10 #include "base/feature_list.h" |
11 | 11 |
12 class PrefService; | 12 class PrefService; |
13 | 13 |
14 namespace prefs { | 14 namespace prefs { |
15 // Boolean that tell us whether Safe Browsing extended reporting is enabled. | 15 // Boolean that tell us whether Safe Browsing extended reporting is enabled. |
16 extern const char kSafeBrowsingExtendedReportingEnabled[]; | 16 extern const char kSafeBrowsingExtendedReportingEnabled[]; |
17 | 17 |
18 // Boolean indicating whether Safe Browsing Scout reporting is enabled, which | 18 // Boolean indicating whether Safe Browsing Scout reporting is enabled, which |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 bool on_show_pref_existed, | 141 bool on_show_pref_existed, |
142 bool on_show_pref_value); | 142 bool on_show_pref_value); |
143 | 143 |
144 // Called to indicate that a security interstitial is about to be shown to the | 144 // Called to indicate that a security interstitial is about to be shown to the |
145 // user. This may trigger the user to begin seeing the Scout opt-in text | 145 // user. This may trigger the user to begin seeing the Scout opt-in text |
146 // depending on their experiment state. | 146 // depending on their experiment state. |
147 void UpdatePrefsBeforeSecurityInterstitial(PrefService* prefs); | 147 void UpdatePrefsBeforeSecurityInterstitial(PrefService* prefs); |
148 | 148 |
149 } // namespace safe_browsing | 149 } // namespace safe_browsing |
150 | 150 |
151 #endif // COMPONENTS_SAFE_BROWSING_DB_SAFE_BROWSING_PREFS_H_ | 151 #endif // COMPONENTS_SAFE_BROWSING_COMMON_SAFE_BROWSING_PREFS_H_ |
OLD | NEW |