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

Side by Side Diff: android_webview/native/aw_contents_client_bridge.h

Issue 1852513003: Convert //android_webview to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: git is hard Created 4 years, 8 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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 #ifndef ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_CLIENT_BRIDGE_H_ 5 #ifndef ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_CLIENT_BRIDGE_H_
6 #define ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_CLIENT_BRIDGE_H_ 6 #define ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_CLIENT_BRIDGE_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 9
10 #include "android_webview/browser/aw_contents_client_bridge_base.h" 10 #include "android_webview/browser/aw_contents_client_bridge_base.h"
(...skipping 22 matching lines...) Expand all
33 ~AwContentsClientBridge() override; 33 ~AwContentsClientBridge() override;
34 34
35 // AwContentsClientBridgeBase implementation 35 // AwContentsClientBridgeBase implementation
36 void AllowCertificateError(int cert_error, 36 void AllowCertificateError(int cert_error,
37 net::X509Certificate* cert, 37 net::X509Certificate* cert,
38 const GURL& request_url, 38 const GURL& request_url,
39 const base::Callback<void(bool)>& callback, 39 const base::Callback<void(bool)>& callback,
40 bool* cancel_request) override; 40 bool* cancel_request) override;
41 void SelectClientCertificate( 41 void SelectClientCertificate(
42 net::SSLCertRequestInfo* cert_request_info, 42 net::SSLCertRequestInfo* cert_request_info,
43 scoped_ptr<content::ClientCertificateDelegate> delegate) override; 43 std::unique_ptr<content::ClientCertificateDelegate> delegate) override;
44 44
45 void RunJavaScriptDialog( 45 void RunJavaScriptDialog(
46 content::JavaScriptMessageType message_type, 46 content::JavaScriptMessageType message_type,
47 const GURL& origin_url, 47 const GURL& origin_url,
48 const base::string16& message_text, 48 const base::string16& message_text,
49 const base::string16& default_prompt_text, 49 const base::string16& default_prompt_text,
50 const content::JavaScriptDialogManager::DialogClosedCallback& callback) 50 const content::JavaScriptDialogManager::DialogClosedCallback& callback)
51 override; 51 override;
52 void RunBeforeUnloadDialog( 52 void RunBeforeUnloadDialog(
53 const GURL& origin_url, 53 const GURL& origin_url,
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 // doesn't provide Release, so ownership is managed manually. 88 // doesn't provide Release, so ownership is managed manually.
89 IDMap<content::ClientCertificateDelegate> 89 IDMap<content::ClientCertificateDelegate>
90 pending_client_cert_request_delegates_; 90 pending_client_cert_request_delegates_;
91 }; 91 };
92 92
93 bool RegisterAwContentsClientBridge(JNIEnv* env); 93 bool RegisterAwContentsClientBridge(JNIEnv* env);
94 94
95 } // namespace android_webview 95 } // namespace android_webview
96 96
97 #endif // ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_CLIENT_BRIDGE_H_ 97 #endif // ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_CLIENT_BRIDGE_H_
OLDNEW
« no previous file with comments | « android_webview/native/aw_contents.cc ('k') | android_webview/native/aw_contents_client_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698