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/memory/scoped_ptr.h" | 16 #include "base/memory/scoped_ptr.h" |
16 #include "chrome/browser/safe_browsing/hit_report.h" | 17 #include "chrome/browser/safe_browsing/hit_report.h" |
17 #include "chrome/browser/safe_browsing/protocol_manager_helper.h" | 18 #include "chrome/browser/safe_browsing/protocol_manager_helper.h" |
18 #include "chrome/browser/safe_browsing/safe_browsing_util.h" | 19 #include "chrome/browser/safe_browsing/safe_browsing_util.h" |
19 #include "net/url_request/url_fetcher_delegate.h" | 20 #include "net/url_request/url_fetcher_delegate.h" |
20 #include "url/gurl.h" | 21 #include "url/gurl.h" |
21 | 22 |
22 namespace certificate_reporting { | 23 namespace certificate_reporting { |
23 class ErrorReporter; | 24 class ErrorReporter; |
24 } | 25 } |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 | 98 |
98 // Sends reports of invalid SSL certificate chains. | 99 // Sends reports of invalid SSL certificate chains. |
99 scoped_ptr<certificate_reporting::ErrorReporter> certificate_error_reporter_; | 100 scoped_ptr<certificate_reporting::ErrorReporter> certificate_error_reporter_; |
100 | 101 |
101 DISALLOW_COPY_AND_ASSIGN(SafeBrowsingPingManager); | 102 DISALLOW_COPY_AND_ASSIGN(SafeBrowsingPingManager); |
102 }; | 103 }; |
103 | 104 |
104 } // namespace safe_browsing | 105 } // namespace safe_browsing |
105 | 106 |
106 #endif // CHROME_BROWSER_SAFE_BROWSING_PING_MANAGER_H_ | 107 #endif // CHROME_BROWSER_SAFE_BROWSING_PING_MANAGER_H_ |
OLD | NEW |