OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 ANDROID_WEBVIEW_NATIVE_AW_METRICS_SERVICE_CLIENT_IMPL_H_ | 5 #ifndef ANDROID_WEBVIEW_BROWSER_AW_METRICS_SERVICE_CLIENT_IMPL_H_ |
6 #define ANDROID_WEBVIEW_NATIVE_AW_METRICS_SERVICE_CLIENT_IMPL_H_ | 6 #define ANDROID_WEBVIEW_BROWSER_AW_METRICS_SERVICE_CLIENT_IMPL_H_ |
7 | 7 |
8 #include <jni.h> | 8 #include <jni.h> |
9 #include <memory> | 9 #include <memory> |
10 #include <string> | 10 #include <string> |
11 | 11 |
12 #include "android_webview/browser/aw_metrics_service_client.h" | 12 #include "android_webview/browser/aw_metrics_service_client.h" |
13 #include "base/lazy_instance.h" | 13 #include "base/lazy_instance.h" |
14 #include "base/macros.h" | 14 #include "base/macros.h" |
15 #include "components/metrics/metrics_log_uploader.h" | 15 #include "components/metrics/metrics_log_uploader.h" |
16 | 16 |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 std::unique_ptr<metrics::MetricsStateManager> metrics_state_manager_; | 73 std::unique_ptr<metrics::MetricsStateManager> metrics_state_manager_; |
74 std::unique_ptr<metrics::MetricsService> metrics_service_; | 74 std::unique_ptr<metrics::MetricsService> metrics_service_; |
75 | 75 |
76 DISALLOW_COPY_AND_ASSIGN(AwMetricsServiceClientImpl); | 76 DISALLOW_COPY_AND_ASSIGN(AwMetricsServiceClientImpl); |
77 }; | 77 }; |
78 | 78 |
79 bool RegisterAwMetricsServiceClient(JNIEnv* env); | 79 bool RegisterAwMetricsServiceClient(JNIEnv* env); |
80 | 80 |
81 } // namespace android_webview | 81 } // namespace android_webview |
82 | 82 |
83 #endif // ANDROID_WEBVIEW_NATIVE_AW_METRICS_SERVICE_CLIENT_IMPL_H_ | 83 #endif // ANDROID_WEBVIEW_BROWSER_AW_METRICS_SERVICE_CLIENT_IMPL_H_ |
OLD | NEW |