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_PING_MANAGER_H_ | 5 #ifndef CHROME_BROWSER_SAFE_BROWSING_PING_MANAGER_H_ |
6 #define CHROME_BROWSER_SAFE_BROWSING_PING_MANAGER_H_ | 6 #define CHROME_BROWSER_SAFE_BROWSING_PING_MANAGER_H_ |
7 | 7 |
8 // A class that reports safebrowsing statistics to Google's SafeBrowsing | 8 // A class that reports safebrowsing statistics to Google's SafeBrowsing |
9 // servers. | 9 // servers. |
10 #include <set> | 10 #include <set> |
11 #include <string> | 11 #include <string> |
12 #include <vector> | 12 #include <vector> |
13 | 13 |
14 #include "base/gtest_prod_util.h" | 14 #include "base/gtest_prod_util.h" |
15 #include "base/macros.h" | 15 #include "base/macros.h" |
16 #include "base/memory/scoped_ptr.h" | 16 #include "base/memory/scoped_ptr.h" |
17 #include "chrome/browser/safe_browsing/protocol_manager_helper.h" | 17 #include "chrome/browser/safe_browsing/protocol_manager_helper.h" |
18 #include "chrome/browser/safe_browsing/safe_browsing_util.h" | |
19 #include "components/safe_browsing_db/hit_report.h" | 18 #include "components/safe_browsing_db/hit_report.h" |
| 19 #include "components/safe_browsing_db/util.h" |
20 #include "net/url_request/url_fetcher_delegate.h" | 20 #include "net/url_request/url_fetcher_delegate.h" |
21 #include "url/gurl.h" | 21 #include "url/gurl.h" |
22 | 22 |
23 namespace certificate_reporting { | 23 namespace certificate_reporting { |
24 class ErrorReporter; | 24 class ErrorReporter; |
25 } | 25 } |
26 | 26 |
27 namespace net { | 27 namespace net { |
28 class SSLInfo; | 28 class SSLInfo; |
29 class URLRequestContextGetter; | 29 class URLRequestContextGetter; |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 | 98 |
99 // Sends reports of invalid SSL certificate chains. | 99 // Sends reports of invalid SSL certificate chains. |
100 scoped_ptr<certificate_reporting::ErrorReporter> certificate_error_reporter_; | 100 scoped_ptr<certificate_reporting::ErrorReporter> certificate_error_reporter_; |
101 | 101 |
102 DISALLOW_COPY_AND_ASSIGN(SafeBrowsingPingManager); | 102 DISALLOW_COPY_AND_ASSIGN(SafeBrowsingPingManager); |
103 }; | 103 }; |
104 | 104 |
105 } // namespace safe_browsing | 105 } // namespace safe_browsing |
106 | 106 |
107 #endif // CHROME_BROWSER_SAFE_BROWSING_PING_MANAGER_H_ | 107 #endif // CHROME_BROWSER_SAFE_BROWSING_PING_MANAGER_H_ |
OLD | NEW |