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

Side by Side Diff: components/safe_browsing_db/v4_update_protocol_manager.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
« no previous file with comments | « components/safe_browsing_db/util.h ('k') | components/security_interstitials/content/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_SAFE_BROWSING_DB_V4_UPDATE_PROTOCOL_MANAGER_H_ 5 #ifndef COMPONENTS_SAFE_BROWSING_DB_V4_UPDATE_PROTOCOL_MANAGER_H_
6 #define COMPONENTS_SAFE_BROWSING_DB_V4_UPDATE_PROTOCOL_MANAGER_H_ 6 #define COMPONENTS_SAFE_BROWSING_DB_V4_UPDATE_PROTOCOL_MANAGER_H_
7 7
8 // A class that implements Chrome's interface with the SafeBrowsing V4 update 8 // A class that implements Chrome's interface with the SafeBrowsing V4 update
9 // protocol. 9 // protocol.
10 // 10 //
11 // The V4UpdateProtocolManager handles formatting and making requests of, and 11 // The V4UpdateProtocolManager handles formatting and making requests of, and
12 // handling responses from, Google's SafeBrowsing servers. The purpose of this 12 // handling responses from, Google's SafeBrowsing servers. The purpose of this
13 // class is to get hash prefixes from the SB server for the given set of lists. 13 // class is to get hash prefixes from the SB server for the given set of lists.
14 14
15 #include <memory> 15 #include <memory>
16 #include <string> 16 #include <string>
17 #include <vector> 17 #include <vector>
18 18
19 #include "base/gtest_prod_util.h" 19 #include "base/gtest_prod_util.h"
20 #include "base/macros.h" 20 #include "base/macros.h"
21 #include "base/threading/non_thread_safe.h" 21 #include "base/threading/non_thread_safe.h"
22 #include "base/time/time.h" 22 #include "base/time/time.h"
23 #include "base/timer/timer.h" 23 #include "base/timer/timer.h"
24 #include "components/safe_browsing_db/safe_browsing_prefs.h" 24 #include "components/safe_browsing/common/safe_browsing_prefs.h"
25 #include "components/safe_browsing_db/safebrowsing.pb.h" 25 #include "components/safe_browsing_db/safebrowsing.pb.h"
26 #include "components/safe_browsing_db/util.h" 26 #include "components/safe_browsing_db/util.h"
27 #include "components/safe_browsing_db/v4_protocol_manager_util.h" 27 #include "components/safe_browsing_db/v4_protocol_manager_util.h"
28 #include "net/url_request/url_fetcher_delegate.h" 28 #include "net/url_request/url_fetcher_delegate.h"
29 29
30 class GURL; 30 class GURL;
31 31
32 namespace net { 32 namespace net {
33 class URLFetcher; 33 class URLFetcher;
34 class URLRequestContextGetter; 34 class URLRequestContextGetter;
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 V4UpdateCallback update_callback, 206 V4UpdateCallback update_callback,
207 ExtendedReportingLevelCallback extended_reporting_level_callback) = 0; 207 ExtendedReportingLevelCallback extended_reporting_level_callback) = 0;
208 208
209 private: 209 private:
210 DISALLOW_COPY_AND_ASSIGN(V4UpdateProtocolManagerFactory); 210 DISALLOW_COPY_AND_ASSIGN(V4UpdateProtocolManagerFactory);
211 }; 211 };
212 212
213 } // namespace safe_browsing 213 } // namespace safe_browsing
214 214
215 #endif // COMPONENTS_SAFE_BROWSING_DB_V4_UPDATE_PROTOCOL_MANAGER_H_ 215 #endif // COMPONENTS_SAFE_BROWSING_DB_V4_UPDATE_PROTOCOL_MANAGER_H_
OLDNEW
« no previous file with comments | « components/safe_browsing_db/util.h ('k') | components/security_interstitials/content/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698