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

Side by Side Diff: android_webview/browser/aw_resource.cc

Issue 2886283005: [WebView] Merge AwMetricsServiceClient and move few files to new place (Closed)
Patch Set: remove recursive include Created 3 years, 7 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
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "android_webview/common/aw_resource.h"
6
7 #include "base/android/jni_array.h"
8 #include "base/android/jni_string.h"
9 #include "base/android/scoped_java_ref.h"
10 #include "jni/AwResource_jni.h"
11
12 using base::android::ScopedJavaLocalRef;
13
14 namespace android_webview {
15 namespace AwResource {
16
17 std::vector<std::string> GetConfigKeySystemUuidMapping() {
18 JNIEnv* env = base::android::AttachCurrentThread();
19 std::vector<std::string> key_system_uuid_mappings;
20 ScopedJavaLocalRef<jobjectArray> mappings =
21 Java_AwResource_getConfigKeySystemUuidMapping(env);
22 base::android::AppendJavaStringArrayToStringVector(env, mappings.obj(),
23 &key_system_uuid_mappings);
24 return key_system_uuid_mappings;
25 }
26
27 } // namespace AwResource
28 } // namespace android_webview
OLDNEW
« no previous file with comments | « android_webview/browser/aw_metrics_service_client_impl.cc ('k') | android_webview/browser/net/init_native_callback.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698