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

Side by Side Diff: content/browser/mock_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: review comments+sync 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/browser/mock_content_browser_client.h" 5 #include "content/browser/mock_content_browser_client.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/file_path.h" 9 #include "base/file_path.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 const net::SSLInfo& ssl_info, 172 const net::SSLInfo& ssl_info,
173 const GURL& request_url, 173 const GURL& request_url,
174 bool overridable, 174 bool overridable,
175 const base::Callback<void(bool)>& callback, 175 const base::Callback<void(bool)>& callback,
176 bool* cancel_request) { 176 bool* cancel_request) {
177 } 177 }
178 178
179 void MockContentBrowserClient::SelectClientCertificate( 179 void MockContentBrowserClient::SelectClientCertificate(
180 int render_process_id, 180 int render_process_id,
181 int render_view_id, 181 int render_view_id,
182 SSLClientAuthHandler* handler) { 182 const net::HttpNetworkSession* network_session,
183 net::SSLCertRequestInfo* cert_request_info,
184 const base::Callback<void(net::X509Certificate*)>& callback) {
183 } 185 }
184 186
185 void MockContentBrowserClient::AddNewCertificate( 187 void MockContentBrowserClient::AddNewCertificate(
186 net::URLRequest* request, 188 net::URLRequest* request,
187 net::X509Certificate* cert, 189 net::X509Certificate* cert,
188 int render_process_id, 190 int render_process_id,
189 int render_view_id) { 191 int render_view_id) {
190 } 192 }
191 193
192 void MockContentBrowserClient::RequestDesktopNotificationPermission( 194 void MockContentBrowserClient::RequestDesktopNotificationPermission(
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 #endif 308 #endif
307 309
308 #if defined(USE_NSS) 310 #if defined(USE_NSS)
309 crypto::CryptoModuleBlockingPasswordDelegate* 311 crypto::CryptoModuleBlockingPasswordDelegate*
310 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { 312 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) {
311 return NULL; 313 return NULL;
312 } 314 }
313 #endif 315 #endif
314 316
315 } // namespace content 317 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/mock_content_browser_client.h ('k') | content/browser/ssl/ssl_client_auth_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698