Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1543)

Side by Side Diff: components/safe_browsing/common/safe_browsing_prefs.h

Issue 2869383002: Unify safe_browsing* components [1]: move safe_browsing_prefs* (Closed)
Patch Set: fix win bots Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « components/safe_browsing/common/DEPS ('k') | components/safe_browsing/common/safe_browsing_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698