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

Side by Side Diff: android_webview/browser/aw_contents_client_bridge_base.h

Issue 2869103002: [Android WebView] Propagate Java exceptions thrown in OnReceivedSslError (Closed)
Patch Set: Add comments to ssl_manager.h as well. 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
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_BROWSER_AW_CONTENTS_CLIENT_BRIDGE_BASE_H_ 5 #ifndef ANDROID_WEBVIEW_BROWSER_AW_CONTENTS_CLIENT_BRIDGE_BASE_H_
6 #define ANDROID_WEBVIEW_BROWSER_AW_CONTENTS_CLIENT_BRIDGE_BASE_H_ 6 #define ANDROID_WEBVIEW_BROWSER_AW_CONTENTS_CLIENT_BRIDGE_BASE_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "android_webview/browser/net/aw_web_resource_request.h" 10 #include "android_webview/browser/net/aw_web_resource_request.h"
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 // Called when a resource loading error has occured (e.g. an I/O error, 93 // Called when a resource loading error has occured (e.g. an I/O error,
94 // host name lookup failure etc.) 94 // host name lookup failure etc.)
95 virtual void OnReceivedError(const AwWebResourceRequest& request, 95 virtual void OnReceivedError(const AwWebResourceRequest& request,
96 int error_code) = 0; 96 int error_code) = 0;
97 97
98 // Called when a response from the server is received with status code >= 400. 98 // Called when a response from the server is received with status code >= 400.
99 virtual void OnReceivedHttpError( 99 virtual void OnReceivedHttpError(
100 const AwWebResourceRequest& request, 100 const AwWebResourceRequest& request,
101 const scoped_refptr<const net::HttpResponseHeaders>& 101 const scoped_refptr<const net::HttpResponseHeaders>&
102 response_headers) = 0; 102 response_headers) = 0;
103
104 virtual bool HasPendingJavaException() = 0;
103 }; 105 };
104 106
105 } // namespace android_webview 107 } // namespace android_webview
106 108
107 #endif // ANDROID_WEBVIEW_BROWSER_AW_CONTENTS_CLIENT_BRIDGE_BASE_H_ 109 #endif // ANDROID_WEBVIEW_BROWSER_AW_CONTENTS_CLIENT_BRIDGE_BASE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698