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

Side by Side Diff: chrome/browser/ui/android/connection_info_popup_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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "chrome/browser/ui/android/connection_info_popup_android.h" 5 #include "chrome/browser/ui/android/connection_info_popup_android.h"
6 6
7 #include "base/android/jni_android.h" 7 #include "base/android/jni_android.h"
8 #include "base/android/jni_array.h" 8 #include "base/android/jni_array.h"
9 #include "base/android/jni_string.h" 9 #include "base/android/jni_string.h"
10 #include "base/stl_util.h" 10 #include "base/stl_util.h"
(...skipping 11 matching lines...) Expand all
22 #include "content/public/common/ssl_status.h" 22 #include "content/public/common/ssl_status.h"
23 #include "grit/components_strings.h" 23 #include "grit/components_strings.h"
24 #include "jni/ConnectionInfoPopup_jni.h" 24 #include "jni/ConnectionInfoPopup_jni.h"
25 #include "net/cert/x509_certificate.h" 25 #include "net/cert/x509_certificate.h"
26 #include "ui/base/l10n/l10n_util.h" 26 #include "ui/base/l10n/l10n_util.h"
27 27
28 using base::android::CheckException; 28 using base::android::CheckException;
29 using base::android::ConvertUTF8ToJavaString; 29 using base::android::ConvertUTF8ToJavaString;
30 using base::android::ConvertUTF16ToJavaString; 30 using base::android::ConvertUTF16ToJavaString;
31 using base::android::GetClass; 31 using base::android::GetClass;
32 using base::android::JavaParamRef;
32 using base::android::ScopedJavaLocalRef; 33 using base::android::ScopedJavaLocalRef;
33 using content::CertStore; 34 using content::CertStore;
34 using content::WebContents; 35 using content::WebContents;
35 36
36 static ScopedJavaLocalRef<jobjectArray> GetCertificateChain( 37 static ScopedJavaLocalRef<jobjectArray> GetCertificateChain(
37 JNIEnv* env, 38 JNIEnv* env,
38 const JavaParamRef<jobject>& obj, 39 const JavaParamRef<jobject>& obj,
39 const JavaParamRef<jobject>& java_web_contents) { 40 const JavaParamRef<jobject>& java_web_contents) {
40 content::WebContents* web_contents = 41 content::WebContents* web_contents =
41 content::WebContents::FromJavaWebContents(java_web_contents); 42 content::WebContents::FromJavaWebContents(java_web_contents);
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 // There's no tab UI on Android - only connection info is shown. 206 // There's no tab UI on Android - only connection info is shown.
206 NOTIMPLEMENTED(); 207 NOTIMPLEMENTED();
207 } 208 }
208 209
209 // static 210 // static
210 bool 211 bool
211 ConnectionInfoPopupAndroid::RegisterConnectionInfoPopupAndroid( 212 ConnectionInfoPopupAndroid::RegisterConnectionInfoPopupAndroid(
212 JNIEnv* env) { 213 JNIEnv* env) {
213 return RegisterNativesImpl(env); 214 return RegisterNativesImpl(env);
214 } 215 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/android/chrome_http_auth_handler.cc ('k') | chrome/browser/ui/android/context_menu_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698