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

Side by Side Diff: content/shell/shell_content_browser_client.cc

Issue 9384014: Remove knowledge about SSLClientAuthHandler from chrome. Instead a callback is given to the embed... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix aura Created 8 years, 10 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 #include "content/shell/shell_content_browser_client.h" 5 #include "content/shell/shell_content_browser_client.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/file_path.h" 8 #include "base/file_path.h"
9 #include "content/shell/shell.h" 9 #include "content/shell/shell.h"
10 #include "content/shell/shell_browser_main.h" 10 #include "content/shell/shell_browser_main.h"
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 192
193 void ShellContentBrowserClient::AllowCertificateError( 193 void ShellContentBrowserClient::AllowCertificateError(
194 SSLCertErrorHandler* handler, 194 SSLCertErrorHandler* handler,
195 bool overridable, 195 bool overridable,
196 const base::Callback<void(SSLCertErrorHandler*, bool)>& callback) { 196 const base::Callback<void(SSLCertErrorHandler*, bool)>& callback) {
197 } 197 }
198 198
199 void ShellContentBrowserClient::SelectClientCertificate( 199 void ShellContentBrowserClient::SelectClientCertificate(
200 int render_process_id, 200 int render_process_id,
201 int render_view_id, 201 int render_view_id,
202 SSLClientAuthHandler* handler) { 202 const net::HttpNetworkSession* network_session,
203 net::SSLCertRequestInfo* cert_request_info,
204 const base::Callback<void(net::X509Certificate*)>& callback) {
203 } 205 }
204 206
205 void ShellContentBrowserClient::AddNewCertificate( 207 void ShellContentBrowserClient::AddNewCertificate(
206 net::URLRequest* request, 208 net::URLRequest* request,
207 net::X509Certificate* cert, 209 net::X509Certificate* cert,
208 int render_process_id, 210 int render_process_id,
209 int render_view_id) { 211 int render_view_id) {
210 } 212 }
211 213
212 void ShellContentBrowserClient::RequestDesktopNotificationPermission( 214 void ShellContentBrowserClient::RequestDesktopNotificationPermission(
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 #endif 323 #endif
322 324
323 #if defined(USE_NSS) 325 #if defined(USE_NSS)
324 crypto::CryptoModuleBlockingPasswordDelegate* 326 crypto::CryptoModuleBlockingPasswordDelegate*
325 ShellContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { 327 ShellContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) {
326 return NULL; 328 return NULL;
327 } 329 }
328 #endif 330 #endif
329 331
330 } // namespace content 332 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698