Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(90)

Side by Side Diff: android_webview/native/aw_metrics_service_client_impl.cc

Issue 2691263002: Revert of Remove header dependencies from sequence_checker.h to sequenced_worker_pool.h (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | ash/common/system/tray/system_tray_notifier.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #include "android_webview/native/aw_metrics_service_client_impl.h" 5 #include "android_webview/native/aw_metrics_service_client_impl.h"
6 6
7 #include "android_webview/common/aw_version_info_values.h" 7 #include "android_webview/common/aw_version_info_values.h"
8 #include "android_webview/jni/AwMetricsServiceClient_jni.h" 8 #include "android_webview/jni/AwMetricsServiceClient_jni.h"
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/files/file_util.h" 10 #include "base/files/file_util.h"
11 #include "base/guid.h" 11 #include "base/guid.h"
12 #include "base/i18n/rtl.h" 12 #include "base/i18n/rtl.h"
13 #include "base/threading/sequenced_worker_pool.h"
14 #include "components/metrics/call_stack_profile_metrics_provider.h" 13 #include "components/metrics/call_stack_profile_metrics_provider.h"
15 #include "components/metrics/enabled_state_provider.h" 14 #include "components/metrics/enabled_state_provider.h"
16 #include "components/metrics/gpu/gpu_metrics_provider.h" 15 #include "components/metrics/gpu/gpu_metrics_provider.h"
17 #include "components/metrics/metrics_pref_names.h" 16 #include "components/metrics/metrics_pref_names.h"
18 #include "components/metrics/metrics_service.h" 17 #include "components/metrics/metrics_service.h"
19 #include "components/metrics/metrics_state_manager.h" 18 #include "components/metrics/metrics_state_manager.h"
20 #include "components/metrics/net/net_metrics_log_uploader.h" 19 #include "components/metrics/net/net_metrics_log_uploader.h"
21 #include "components/metrics/profiler/profiler_metrics_provider.h" 20 #include "components/metrics/profiler/profiler_metrics_provider.h"
22 #include "components/metrics/ui/screen_info_metrics_provider.h" 21 #include "components/metrics/ui/screen_info_metrics_provider.h"
23 #include "components/metrics/url_constants.h" 22 #include "components/metrics/url_constants.h"
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 const base::android::JavaParamRef<jclass>& jcaller, 226 const base::android::JavaParamRef<jclass>& jcaller,
228 jboolean enabled) { 227 jboolean enabled) {
229 g_lazy_instance_.Pointer()->SetMetricsEnabled(enabled); 228 g_lazy_instance_.Pointer()->SetMetricsEnabled(enabled);
230 } 229 }
231 230
232 bool RegisterAwMetricsServiceClient(JNIEnv* env) { 231 bool RegisterAwMetricsServiceClient(JNIEnv* env) {
233 return RegisterNativesImpl(env); 232 return RegisterNativesImpl(env);
234 } 233 }
235 234
236 } // namespace android_webview 235 } // namespace android_webview
OLDNEW
« no previous file with comments | « no previous file | ash/common/system/tray/system_tray_notifier.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698