OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_PROTOCOL_MANAGER_H_ | 5 #ifndef CHROME_BROWSER_SAFE_BROWSING_PROTOCOL_MANAGER_H_ |
6 #define CHROME_BROWSER_SAFE_BROWSING_PROTOCOL_MANAGER_H_ | 6 #define CHROME_BROWSER_SAFE_BROWSING_PROTOCOL_MANAGER_H_ |
7 #pragma once | |
8 | 7 |
9 // A class that implements Chrome's interface with the SafeBrowsing protocol. | 8 // A class that implements Chrome's interface with the SafeBrowsing protocol. |
10 // The SafeBrowsingProtocolManager handles formatting and making requests of, | 9 // The SafeBrowsingProtocolManager handles formatting and making requests of, |
11 // and handling responses from, Google's SafeBrowsing servers. This class uses | 10 // and handling responses from, Google's SafeBrowsing servers. This class uses |
12 // The SafeBrowsingProtocolParser class to do the actual parsing. | 11 // The SafeBrowsingProtocolParser class to do the actual parsing. |
13 | 12 |
14 #include <deque> | 13 #include <deque> |
15 #include <set> | 14 #include <set> |
16 #include <string> | 15 #include <string> |
17 #include <vector> | 16 #include <vector> |
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
365 std::string url_prefix_; | 364 std::string url_prefix_; |
366 | 365 |
367 // When true, protocol manager will not start an update unless | 366 // When true, protocol manager will not start an update unless |
368 // ForceScheduleNextUpdate() is called. This is set for testing purpose. | 367 // ForceScheduleNextUpdate() is called. This is set for testing purpose. |
369 bool disable_auto_update_; | 368 bool disable_auto_update_; |
370 | 369 |
371 DISALLOW_COPY_AND_ASSIGN(SafeBrowsingProtocolManager); | 370 DISALLOW_COPY_AND_ASSIGN(SafeBrowsingProtocolManager); |
372 }; | 371 }; |
373 | 372 |
374 #endif // CHROME_BROWSER_SAFE_BROWSING_PROTOCOL_MANAGER_H_ | 373 #endif // CHROME_BROWSER_SAFE_BROWSING_PROTOCOL_MANAGER_H_ |
OLD | NEW |