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

Side by Side Diff: android_webview/native/token_binding_manager_bridge.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/token_binding_manager_bridge.h" 5 #include "android_webview/native/token_binding_manager_bridge.h"
6 6
7 #include "android_webview/browser/net/token_binding_manager.h" 7 #include "android_webview/browser/net/token_binding_manager.h"
8 #include "base/android/jni_android.h" 8 #include "base/android/jni_android.h"
9 #include "base/android/jni_array.h" 9 #include "base/android/jni_array.h"
10 #include "base/android/jni_string.h" 10 #include "base/android/jni_string.h"
11 #include "base/bind.h" 11 #include "base/bind.h"
12 #include "content/public/browser/browser_thread.h" 12 #include "content/public/browser/browser_thread.h"
13 #include "crypto/ec_private_key.h" 13 #include "crypto/ec_private_key.h"
14 #include "jni/AwTokenBindingManager_jni.h" 14 #include "jni/AwTokenBindingManager_jni.h"
15 #include "net/base/net_errors.h" 15 #include "net/base/net_errors.h"
16 16
17 using base::android::ConvertJavaStringToUTF8; 17 using base::android::ConvertJavaStringToUTF8;
18 using base::android::JavaParamRef;
18 using base::android::ScopedJavaGlobalRef; 19 using base::android::ScopedJavaGlobalRef;
20 using base::android::ScopedJavaLocalRef;
19 using content::BrowserThread; 21 using content::BrowserThread;
20 22
21 namespace android_webview { 23 namespace android_webview {
22 24
23 namespace { 25 namespace {
24 26
25 // Provides the key to the Webview client. 27 // Provides the key to the Webview client.
26 void OnKeyReady(const ScopedJavaGlobalRef<jobject>& callback, 28 void OnKeyReady(const ScopedJavaGlobalRef<jobject>& callback,
27 int status, 29 int status,
28 crypto::ECPrivateKey* key) { 30 crypto::ECPrivateKey* key) {
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 TokenBindingManager::DeletionCompleteCallback complete_callback = 111 TokenBindingManager::DeletionCompleteCallback complete_callback =
110 base::Bind(&OnDeletionComplete, j_callback); 112 base::Bind(&OnDeletionComplete, j_callback);
111 TokenBindingManager::GetInstance()->DeleteAllKeys(complete_callback); 113 TokenBindingManager::GetInstance()->DeleteAllKeys(complete_callback);
112 } 114 }
113 115
114 bool RegisterTokenBindingManager(JNIEnv* env) { 116 bool RegisterTokenBindingManager(JNIEnv* env) {
115 return RegisterNativesImpl(env); 117 return RegisterNativesImpl(env);
116 } 118 }
117 119
118 } // android_webview namespace 120 } // android_webview namespace
OLDNEW
« no previous file with comments | « android_webview/native/permission/aw_permission_request.cc ('k') | base/android/animation_frame_time_histogram.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698