| 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 <memory> | 10 #include <memory> |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 #include "content/public/browser/permission_type.h" | 21 #include "content/public/browser/permission_type.h" |
| 22 #include "net/log/net_log_with_source.h" | 22 #include "net/log/net_log_with_source.h" |
| 23 #include "net/url_request/url_fetcher_delegate.h" | 23 #include "net/url_request/url_fetcher_delegate.h" |
| 24 #include "url/gurl.h" | 24 #include "url/gurl.h" |
| 25 | 25 |
| 26 namespace certificate_reporting { | 26 namespace certificate_reporting { |
| 27 class ErrorReporter; | 27 class ErrorReporter; |
| 28 } | 28 } |
| 29 | 29 |
| 30 namespace net { | 30 namespace net { |
| 31 class SSLInfo; | |
| 32 class URLRequestContextGetter; | 31 class URLRequestContextGetter; |
| 33 } // namespace net | 32 } // namespace net |
| 34 | 33 |
| 35 namespace safe_browsing { | 34 namespace safe_browsing { |
| 36 | 35 |
| 37 class PermissionReporter; | 36 class PermissionReporter; |
| 38 | 37 |
| 39 class SafeBrowsingPingManager : public net::URLFetcherDelegate { | 38 class SafeBrowsingPingManager : public net::URLFetcherDelegate { |
| 40 public: | 39 public: |
| 41 ~SafeBrowsingPingManager() override; | 40 ~SafeBrowsingPingManager() override; |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 std::unique_ptr<PermissionReporter> permission_reporter_; | 119 std::unique_ptr<PermissionReporter> permission_reporter_; |
| 121 | 120 |
| 122 net::NetLogWithSource net_log_; | 121 net::NetLogWithSource net_log_; |
| 123 | 122 |
| 124 DISALLOW_COPY_AND_ASSIGN(SafeBrowsingPingManager); | 123 DISALLOW_COPY_AND_ASSIGN(SafeBrowsingPingManager); |
| 125 }; | 124 }; |
| 126 | 125 |
| 127 } // namespace safe_browsing | 126 } // namespace safe_browsing |
| 128 | 127 |
| 129 #endif // CHROME_BROWSER_SAFE_BROWSING_PING_MANAGER_H_ | 128 #endif // CHROME_BROWSER_SAFE_BROWSING_PING_MANAGER_H_ |
| OLD | NEW |