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 CHROME_BROWSER_INTERSTITIALS_CHROME_METRICS_HELPER_H_ | 5 #ifndef CHROME_BROWSER_INTERSTITIALS_CHROME_METRICS_HELPER_H_ |
6 #define CHROME_BROWSER_INTERSTITIALS_CHROME_METRICS_HELPER_H_ | 6 #define CHROME_BROWSER_INTERSTITIALS_CHROME_METRICS_HELPER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
| 10 #include "base/macros.h" |
10 #include "components/security_interstitials/core/metrics_helper.h" | 11 #include "components/security_interstitials/core/metrics_helper.h" |
11 #include "url/gurl.h" | 12 #include "url/gurl.h" |
12 | 13 |
13 namespace content { | 14 namespace content { |
14 class WebContents; | 15 class WebContents; |
15 } | 16 } |
16 | 17 |
17 namespace extensions { | 18 namespace extensions { |
18 class ExperienceSamplingEvent; | 19 class ExperienceSamplingEvent; |
19 } | 20 } |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 scoped_ptr<extensions::ExperienceSamplingEvent> sampling_event_; | 53 scoped_ptr<extensions::ExperienceSamplingEvent> sampling_event_; |
53 #endif | 54 #endif |
54 #if defined(ENABLE_CAPTIVE_PORTAL_DETECTION) | 55 #if defined(ENABLE_CAPTIVE_PORTAL_DETECTION) |
55 scoped_ptr<CaptivePortalMetricsRecorder> captive_portal_recorder_; | 56 scoped_ptr<CaptivePortalMetricsRecorder> captive_portal_recorder_; |
56 #endif | 57 #endif |
57 | 58 |
58 DISALLOW_COPY_AND_ASSIGN(ChromeMetricsHelper); | 59 DISALLOW_COPY_AND_ASSIGN(ChromeMetricsHelper); |
59 }; | 60 }; |
60 | 61 |
61 #endif // CHROME_BROWSER_INTERSTITIALS_CHROME_METRICS_HELPER_H_ | 62 #endif // CHROME_BROWSER_INTERSTITIALS_CHROME_METRICS_HELPER_H_ |
OLD | NEW |