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

Unified Diff: android_webview/native/aw_metrics_switch.cc

Issue 2611883002: Prepare to call GMS APIs from WebView (Closed)
Patch Set: explicit destructor for style checker Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « android_webview/native/aw_metrics_switch.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/native/aw_metrics_switch.cc
diff --git a/android_webview/native/aw_metrics_switch.cc b/android_webview/native/aw_metrics_switch.cc
deleted file mode 100644
index 44ab70a3beebb718f8e226dac65f06d849d92f1f..0000000000000000000000000000000000000000
--- a/android_webview/native/aw_metrics_switch.cc
+++ /dev/null
@@ -1,23 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "android_webview/native/aw_metrics_switch.h"
-
-#include "android_webview/browser/aw_metrics_service_client.h"
-#include "android_webview/jni/AwMetricsServiceClient_jni.h"
-
-namespace android_webview {
-
-static void SetMetricsEnabled(
- JNIEnv* env,
- const base::android::JavaParamRef<jclass>& jcaller,
- jboolean enabled) {
- AwMetricsServiceClient::GetInstance()->SetMetricsEnabled(enabled);
-}
-
-bool RegisterAwMetricsServiceClient(JNIEnv* env) {
- return RegisterNativesImpl(env);
-}
-
-} // namespace android_webview
« no previous file with comments | « android_webview/native/aw_metrics_switch.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698