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

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

Issue 10918248: Added virtual destructor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_HTTP_AUTH_HANDLER_BASE_H_ 5 #ifndef ANDROID_WEBVIEW_BROWSER_AW_HTTP_AUTH_HANDLER_BASE_H_
6 #define ANDROID_WEBVIEW_BROWSER_AW_HTTP_AUTH_HANDLER_BASE_H_ 6 #define ANDROID_WEBVIEW_BROWSER_AW_HTTP_AUTH_HANDLER_BASE_H_
7 7
8 namespace content { 8 namespace content {
9 class WebContents; 9 class WebContents;
10 }; 10 };
11 11
12 namespace net { 12 namespace net {
13 class AuthChallengeInfo; 13 class AuthChallengeInfo;
14 }; 14 };
15 15
16 namespace android_webview { 16 namespace android_webview {
17 17
18 class AwLoginDelegate; 18 class AwLoginDelegate;
19 19
20 // browser/ layer interface for AwHttpAuthHandler (which is implemented in the 20 // browser/ layer interface for AwHttpAuthHandler (which is implemented in the
21 // native/ layer as a native version of the Java class of the same name). This 21 // native/ layer as a native version of the Java class of the same name). This
22 // allows the browser/ layer to be unaware of JNI/Java shenanigans. 22 // allows the browser/ layer to be unaware of JNI/Java shenanigans.
23 class AwHttpAuthHandlerBase { 23 class AwHttpAuthHandlerBase {
24 public: 24 public:
25 static AwHttpAuthHandlerBase* Create(AwLoginDelegate* login_delegate, 25 static AwHttpAuthHandlerBase* Create(AwLoginDelegate* login_delegate,
26 net::AuthChallengeInfo* auth_info); 26 net::AuthChallengeInfo* auth_info);
27 virtual ~AwHttpAuthHandlerBase();
27 28
28 // Provides an 'escape-hatch' out to Java for the browser/ layer 29 // Provides an 'escape-hatch' out to Java for the browser/ layer
29 // AwLoginDelegate. 30 // AwLoginDelegate.
30 virtual void HandleOnUIThread(content::WebContents*) = 0; 31 virtual void HandleOnUIThread(content::WebContents*) = 0;
31 }; 32 };
32 33
33 } // namespace android_webview 34 } // namespace android_webview
34 35
35 #endif // ANDROID_WEBVIEW_BROWSER_AW_HTTP_AUTH_HANDLER_BASE_H_ 36 #endif // ANDROID_WEBVIEW_BROWSER_AW_HTTP_AUTH_HANDLER_BASE_H_
OLDNEW
« no previous file with comments | « android_webview/android_webview.gyp ('k') | android_webview/browser/aw_http_auth_handler_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698