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

Side by Side Diff: components/variations/android/variations_associated_data_android.cc

Issue 2209993003: Add missing using statements for JNI types. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "components/variations/android/variations_associated_data_android.h" 5 #include "components/variations/android/variations_associated_data_android.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/android/jni_string.h" 9 #include "base/android/jni_string.h"
10 #include "components/variations/variations_associated_data.h" 10 #include "components/variations/variations_associated_data.h"
11 #include "components/variations/variations_http_header_provider.h" 11 #include "components/variations/variations_http_header_provider.h"
12 #include "jni/VariationsAssociatedData_jni.h" 12 #include "jni/VariationsAssociatedData_jni.h"
13 13
14 using base::android::ConvertJavaStringToUTF8; 14 using base::android::ConvertJavaStringToUTF8;
15 using base::android::ConvertUTF8ToJavaString; 15 using base::android::ConvertUTF8ToJavaString;
16 using base::android::JavaParamRef;
17 using base::android::ScopedJavaLocalRef;
16 18
17 namespace variations { 19 namespace variations {
18 20
19 namespace android { 21 namespace android {
20 22
21 ScopedJavaLocalRef<jstring> GetVariationParamValue( 23 ScopedJavaLocalRef<jstring> GetVariationParamValue(
22 JNIEnv* env, 24 JNIEnv* env,
23 const JavaParamRef<jclass>& clazz, 25 const JavaParamRef<jclass>& clazz,
24 const JavaParamRef<jstring>& jtrial_name, 26 const JavaParamRef<jstring>& jtrial_name,
25 const JavaParamRef<jstring>& jparam_name) { 27 const JavaParamRef<jstring>& jparam_name) {
(...skipping 12 matching lines...) Expand all
38 return ConvertUTF8ToJavaString(env, values); 40 return ConvertUTF8ToJavaString(env, values);
39 } 41 }
40 42
41 bool RegisterVariationsAssociatedData(JNIEnv* env) { 43 bool RegisterVariationsAssociatedData(JNIEnv* env) {
42 return RegisterNativesImpl(env); 44 return RegisterNativesImpl(env);
43 } 45 }
44 46
45 } // namespace android 47 } // namespace android
46 48
47 } // namespace variations 49 } // namespace variations
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698