| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 COMPONENTS_SECURITY_INTERSTITIALS_CORE_METRICS_HELPER_H_ | 5 #ifndef COMPONENTS_SECURITY_INTERSTITIALS_CORE_METRICS_HELPER_H_ |
| 6 #define COMPONENTS_SECURITY_INTERSTITIALS_CORE_METRICS_HELPER_H_ | 6 #define COMPONENTS_SECURITY_INTERSTITIALS_CORE_METRICS_HELPER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/macros.h" |
| 10 #include "base/task/cancelable_task_tracker.h" | 11 #include "base/task/cancelable_task_tracker.h" |
| 11 #include "base/time/time.h" | 12 #include "base/time/time.h" |
| 12 #include "components/rappor/rappor_service.h" | 13 #include "components/rappor/rappor_service.h" |
| 13 #include "url/gurl.h" | 14 #include "url/gurl.h" |
| 14 | 15 |
| 15 namespace history { | 16 namespace history { |
| 16 class HistoryService; | 17 class HistoryService; |
| 17 } | 18 } |
| 18 | 19 |
| 19 namespace security_interstitials { | 20 namespace security_interstitials { |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 rappor::RapporService* rappor_service_; | 117 rappor::RapporService* rappor_service_; |
| 117 int num_visits_; | 118 int num_visits_; |
| 118 base::CancelableTaskTracker request_tracker_; | 119 base::CancelableTaskTracker request_tracker_; |
| 119 | 120 |
| 120 DISALLOW_COPY_AND_ASSIGN(MetricsHelper); | 121 DISALLOW_COPY_AND_ASSIGN(MetricsHelper); |
| 121 }; | 122 }; |
| 122 | 123 |
| 123 } // namespace security_interstitials | 124 } // namespace security_interstitials |
| 124 | 125 |
| 125 #endif // COMPONENTS_SECURITY_INTERSTITIALS_CORE_METRICS_HELPER_H_ | 126 #endif // COMPONENTS_SECURITY_INTERSTITIALS_CORE_METRICS_HELPER_H_ |
| OLD | NEW |