| 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> |
| 11 #include <set> | 11 #include <set> |
| 12 #include <string> | 12 #include <string> |
| 13 #include <vector> | 13 #include <vector> |
| 14 | 14 |
| 15 #include "base/gtest_prod_util.h" | 15 #include "base/gtest_prod_util.h" |
| 16 #include "base/macros.h" | 16 #include "base/macros.h" |
| 17 #include "chrome/browser/permissions/permission_uma_util.h" | 17 #include "chrome/browser/permissions/permission_uma_util.h" |
| 18 #include "chrome/browser/safe_browsing/protocol_manager_helper.h" | 18 #include "chrome/browser/safe_browsing/protocol_manager_helper.h" |
| 19 #include "components/safe_browsing_db/hit_report.h" | 19 #include "components/safe_browsing_db/hit_report.h" |
| 20 #include "components/safe_browsing_db/util.h" | 20 #include "components/safe_browsing_db/util.h" |
| 21 #include "content/public/browser/permission_type.h" | |
| 22 #include "net/log/net_log_with_source.h" | 21 #include "net/log/net_log_with_source.h" |
| 23 #include "net/url_request/url_fetcher_delegate.h" | 22 #include "net/url_request/url_fetcher_delegate.h" |
| 24 #include "url/gurl.h" | 23 #include "url/gurl.h" |
| 25 | 24 |
| 26 class Profile; | 25 class Profile; |
| 27 class SkBitmap; | 26 class SkBitmap; |
| 28 | 27 |
| 29 namespace net { | 28 namespace net { |
| 30 class URLRequestContextGetter; | 29 class URLRequestContextGetter; |
| 31 } // namespace net | 30 } // namespace net |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 std::unique_ptr<NotificationImageReporter> notification_image_reporter_; | 118 std::unique_ptr<NotificationImageReporter> notification_image_reporter_; |
| 120 | 119 |
| 121 net::NetLogWithSource net_log_; | 120 net::NetLogWithSource net_log_; |
| 122 | 121 |
| 123 DISALLOW_COPY_AND_ASSIGN(SafeBrowsingPingManager); | 122 DISALLOW_COPY_AND_ASSIGN(SafeBrowsingPingManager); |
| 124 }; | 123 }; |
| 125 | 124 |
| 126 } // namespace safe_browsing | 125 } // namespace safe_browsing |
| 127 | 126 |
| 128 #endif // CHROME_BROWSER_SAFE_BROWSING_PING_MANAGER_H_ | 127 #endif // CHROME_BROWSER_SAFE_BROWSING_PING_MANAGER_H_ |
| OLD | NEW |