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 CHROME_BROWSER_SAFE_BROWSING_V4_PROTOCOL_MANAGER_H_ | 5 #ifndef COMPONENTS_SAFE_BROWSING_DB_V4_PROTOCOL_MANAGER_H_ |
6 #define CHROME_BROWSER_SAFE_BROWSING_V4_PROTOCOL_MANAGER_H_ | 6 #define COMPONENTS_SAFE_BROWSING_DB_V4_PROTOCOL_MANAGER_H_ |
7 | 7 |
8 // A class that implements Chrome's interface with the SafeBrowsing V4 protocol. | 8 // A class that implements Chrome's interface with the SafeBrowsing V4 protocol. |
9 // | 9 // |
10 // The V4ProtocolManager handles formatting and making requests of, and handling | 10 // The V4ProtocolManager handles formatting and making requests of, and handling |
11 // responses from, Google's SafeBrowsing servers. | 11 // responses from, Google's SafeBrowsing servers. |
12 | 12 |
13 #include <string> | 13 #include <string> |
14 #include <vector> | 14 #include <vector> |
15 | 15 |
16 #include "base/containers/hash_tables.h" | 16 #include "base/containers/hash_tables.h" |
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
265 virtual V4ProtocolManager* CreateProtocolManager( | 265 virtual V4ProtocolManager* CreateProtocolManager( |
266 net::URLRequestContextGetter* request_context_getter, | 266 net::URLRequestContextGetter* request_context_getter, |
267 const V4ProtocolConfig& config) = 0; | 267 const V4ProtocolConfig& config) = 0; |
268 | 268 |
269 private: | 269 private: |
270 DISALLOW_COPY_AND_ASSIGN(V4ProtocolManagerFactory); | 270 DISALLOW_COPY_AND_ASSIGN(V4ProtocolManagerFactory); |
271 }; | 271 }; |
272 | 272 |
273 } // namespace safe_browsing | 273 } // namespace safe_browsing |
274 | 274 |
275 #endif // CHROME_BROWSER_SAFE_BROWSING_V4_PROTOCOL_MANAGER_H_ | 275 #endif // COMPONENTS_SAFE_BROWSING_DB_V4_PROTOCOL_MANAGER_H_ |
OLD | NEW |