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

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

Issue 2898573002: Refactor client cert private key handling. (Closed)
Patch Set: removed no longer needed forward declaration Created 3 years, 6 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
« no previous file with comments | « no previous file | android_webview/browser/aw_content_browser_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef ANDROID_WEBVIEW_BROWSER_AW_CONTENT_BROWSER_CLIENT_H_
6 #define ANDROID_WEBVIEW_BROWSER_AW_CONTENT_BROWSER_CLIENT_H_ 6 #define ANDROID_WEBVIEW_BROWSER_AW_CONTENT_BROWSER_CLIENT_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 const GURL& request_url, 81 const GURL& request_url,
82 content::ResourceType resource_type, 82 content::ResourceType resource_type,
83 bool overridable, 83 bool overridable,
84 bool strict_enforcement, 84 bool strict_enforcement,
85 bool expired_previous_decision, 85 bool expired_previous_decision,
86 const base::Callback<void(content::CertificateRequestResultType)>& 86 const base::Callback<void(content::CertificateRequestResultType)>&
87 callback) override; 87 callback) override;
88 void SelectClientCertificate( 88 void SelectClientCertificate(
89 content::WebContents* web_contents, 89 content::WebContents* web_contents,
90 net::SSLCertRequestInfo* cert_request_info, 90 net::SSLCertRequestInfo* cert_request_info,
91 net::CertificateList client_certs, 91 net::ClientCertIdentityList client_certs,
92 std::unique_ptr<content::ClientCertificateDelegate> delegate) override; 92 std::unique_ptr<content::ClientCertificateDelegate> delegate) override;
93 bool CanCreateWindow(content::RenderFrameHost* opener, 93 bool CanCreateWindow(content::RenderFrameHost* opener,
94 const GURL& opener_url, 94 const GURL& opener_url,
95 const GURL& opener_top_level_frame_url, 95 const GURL& opener_top_level_frame_url,
96 const GURL& source_origin, 96 const GURL& source_origin,
97 content::mojom::WindowContainerType container_type, 97 content::mojom::WindowContainerType container_type,
98 const GURL& target_url, 98 const GURL& target_url,
99 const content::Referrer& referrer, 99 const content::Referrer& referrer,
100 const std::string& frame_name, 100 const std::string& frame_name,
101 WindowOpenDisposition disposition, 101 WindowOpenDisposition disposition,
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 // Android WebView currently has a single global (non-off-the-record) browser 136 // Android WebView currently has a single global (non-off-the-record) browser
137 // context. 137 // context.
138 std::unique_ptr<AwBrowserContext> browser_context_; 138 std::unique_ptr<AwBrowserContext> browser_context_;
139 139
140 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient); 140 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient);
141 }; 141 };
142 142
143 } // namespace android_webview 143 } // namespace android_webview
144 144
145 #endif // ANDROID_WEBVIEW_BROWSER_AW_CONTENT_BROWSER_CLIENT_H_ 145 #endif // ANDROID_WEBVIEW_BROWSER_AW_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | android_webview/browser/aw_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698