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

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

Issue 1474483004: WebView Metrics client implementation (Chromium part) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 11 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 | « android_webview/native/BUILD.gn ('k') | android_webview/native/aw_metrics_switch.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 (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 #include "android_webview/native/android_webview_jni_registrar.h" 5 #include "android_webview/native/android_webview_jni_registrar.h"
6 6
7 #include "android_webview/native/android_protocol_handler.h" 7 #include "android_webview/native/android_protocol_handler.h"
8 #include "android_webview/native/aw_autofill_client.h" 8 #include "android_webview/native/aw_autofill_client.h"
9 #include "android_webview/native/aw_contents.h" 9 #include "android_webview/native/aw_contents.h"
10 #include "android_webview/native/aw_contents_background_thread_client.h" 10 #include "android_webview/native/aw_contents_background_thread_client.h"
11 #include "android_webview/native/aw_contents_client_bridge.h" 11 #include "android_webview/native/aw_contents_client_bridge.h"
12 #include "android_webview/native/aw_contents_io_thread_client_impl.h" 12 #include "android_webview/native/aw_contents_io_thread_client_impl.h"
13 #include "android_webview/native/aw_contents_lifecycle_notifier.h" 13 #include "android_webview/native/aw_contents_lifecycle_notifier.h"
14 #include "android_webview/native/aw_contents_statics.h" 14 #include "android_webview/native/aw_contents_statics.h"
15 #include "android_webview/native/aw_debug.h" 15 #include "android_webview/native/aw_debug.h"
16 #include "android_webview/native/aw_dev_tools_server.h" 16 #include "android_webview/native/aw_dev_tools_server.h"
17 #include "android_webview/native/aw_form_database.h" 17 #include "android_webview/native/aw_form_database.h"
18 #include "android_webview/native/aw_http_auth_handler.h" 18 #include "android_webview/native/aw_http_auth_handler.h"
19 #include "android_webview/native/aw_message_port_service_impl.h" 19 #include "android_webview/native/aw_message_port_service_impl.h"
20 #include "android_webview/native/aw_metrics_switch.h"
20 #include "android_webview/native/aw_pdf_exporter.h" 21 #include "android_webview/native/aw_pdf_exporter.h"
21 #include "android_webview/native/aw_picture.h" 22 #include "android_webview/native/aw_picture.h"
22 #include "android_webview/native/aw_quota_manager_bridge_impl.h" 23 #include "android_webview/native/aw_quota_manager_bridge_impl.h"
23 #include "android_webview/native/aw_resource.h" 24 #include "android_webview/native/aw_resource.h"
24 #include "android_webview/native/aw_settings.h" 25 #include "android_webview/native/aw_settings.h"
25 #include "android_webview/native/aw_web_contents_delegate.h" 26 #include "android_webview/native/aw_web_contents_delegate.h"
26 #include "android_webview/native/aw_web_resource_response_impl.h" 27 #include "android_webview/native/aw_web_resource_response_impl.h"
27 #include "android_webview/native/cookie_manager.h" 28 #include "android_webview/native/cookie_manager.h"
28 #include "android_webview/native/input_stream_impl.h" 29 #include "android_webview/native/input_stream_impl.h"
29 #include "android_webview/native/java_browser_view_renderer_helper.h" 30 #include "android_webview/native/java_browser_view_renderer_helper.h"
(...skipping 13 matching lines...) Expand all
43 RegisterAwContentsBackgroundThreadClient }, 44 RegisterAwContentsBackgroundThreadClient },
44 { "AwContentsClientBridge", RegisterAwContentsClientBridge }, 45 { "AwContentsClientBridge", RegisterAwContentsClientBridge },
45 { "AwContentsIoThreadClientImpl", RegisterAwContentsIoThreadClientImpl }, 46 { "AwContentsIoThreadClientImpl", RegisterAwContentsIoThreadClientImpl },
46 { "AwContentsStatics", RegisterAwContentsStatics }, 47 { "AwContentsStatics", RegisterAwContentsStatics },
47 { "AwDebug", RegisterAwDebug }, 48 { "AwDebug", RegisterAwDebug },
48 { "AwDevToolsServer", RegisterAwDevToolsServer }, 49 { "AwDevToolsServer", RegisterAwDevToolsServer },
49 { "AwFormDatabase", RegisterAwFormDatabase }, 50 { "AwFormDatabase", RegisterAwFormDatabase },
50 { "AwPicture", RegisterAwPicture }, 51 { "AwPicture", RegisterAwPicture },
51 { "AwSettings", RegisterAwSettings }, 52 { "AwSettings", RegisterAwSettings },
52 { "AwHttpAuthHandler", RegisterAwHttpAuthHandler }, 53 { "AwHttpAuthHandler", RegisterAwHttpAuthHandler },
54 { "AwMetricsServiceClient", RegisterAwMetricsServiceClient },
53 { "AwPdfExporter", RegisterAwPdfExporter }, 55 { "AwPdfExporter", RegisterAwPdfExporter },
54 { "AwPermissionRequest", RegisterAwPermissionRequest }, 56 { "AwPermissionRequest", RegisterAwPermissionRequest },
55 { "AwQuotaManagerBridge", RegisterAwQuotaManagerBridge }, 57 { "AwQuotaManagerBridge", RegisterAwQuotaManagerBridge },
56 { "AwResource", AwResource::RegisterAwResource }, 58 { "AwResource", AwResource::RegisterAwResource },
57 { "AwWebContentsDelegate", RegisterAwWebContentsDelegate }, 59 { "AwWebContentsDelegate", RegisterAwWebContentsDelegate },
58 { "CookieManager", RegisterCookieManager }, 60 { "CookieManager", RegisterCookieManager },
59 { "AwWebResourceResponseImpl", RegisterAwWebResourceResponse }, 61 { "AwWebResourceResponseImpl", RegisterAwWebResourceResponse },
60 { "InputStream", RegisterInputStream }, 62 { "InputStream", RegisterInputStream },
61 { "JavaBrowserViewRendererHelper", RegisterJavaBrowserViewRendererHelper }, 63 { "JavaBrowserViewRendererHelper", RegisterJavaBrowserViewRendererHelper },
62 { "AwMessagePortService", RegisterAwMessagePortService }, 64 { "AwMessagePortService", RegisterAwMessagePortService },
63 { "AwContentsLifecycleNotifier", RegisterAwContentsLifecycleNotifier }, 65 { "AwContentsLifecycleNotifier", RegisterAwContentsLifecycleNotifier },
64 }; 66 };
65 67
66 bool RegisterJni(JNIEnv* env) { 68 bool RegisterJni(JNIEnv* env) {
67 TRACE_EVENT0("startup", "android_webview::RegisterJni"); 69 TRACE_EVENT0("startup", "android_webview::RegisterJni");
68 return RegisterNativeMethods(env, 70 return RegisterNativeMethods(env,
69 kWebViewRegisteredMethods, arraysize(kWebViewRegisteredMethods)); 71 kWebViewRegisteredMethods, arraysize(kWebViewRegisteredMethods));
70 } 72 }
71 73
72 } // namespace android_webview 74 } // namespace android_webview
OLDNEW
« no previous file with comments | « android_webview/native/BUILD.gn ('k') | android_webview/native/aw_metrics_switch.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698