| OLD | NEW |
| 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 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 | 167 |
| 168 void MockContentBrowserClient::AllowCertificateError( | 168 void MockContentBrowserClient::AllowCertificateError( |
| 169 SSLCertErrorHandler* handler, | 169 SSLCertErrorHandler* handler, |
| 170 bool overridable, | 170 bool overridable, |
| 171 const base::Callback<void(SSLCertErrorHandler*, bool)>& callback) { | 171 const base::Callback<void(SSLCertErrorHandler*, bool)>& callback) { |
| 172 } | 172 } |
| 173 | 173 |
| 174 void MockContentBrowserClient::SelectClientCertificate( | 174 void MockContentBrowserClient::SelectClientCertificate( |
| 175 int render_process_id, | 175 int render_process_id, |
| 176 int render_view_id, | 176 int render_view_id, |
| 177 SSLClientAuthHandler* handler) { | 177 const net::HttpNetworkSession* network_session, |
| 178 net::SSLCertRequestInfo* cert_request_info, |
| 179 const base::Callback<void(net::X509Certificate*)>& callback) { |
| 178 } | 180 } |
| 179 | 181 |
| 180 void MockContentBrowserClient::AddNewCertificate( | 182 void MockContentBrowserClient::AddNewCertificate( |
| 181 net::URLRequest* request, | 183 net::URLRequest* request, |
| 182 net::X509Certificate* cert, | 184 net::X509Certificate* cert, |
| 183 int render_process_id, | 185 int render_process_id, |
| 184 int render_view_id) { | 186 int render_view_id) { |
| 185 } | 187 } |
| 186 | 188 |
| 187 void MockContentBrowserClient::RequestDesktopNotificationPermission( | 189 void MockContentBrowserClient::RequestDesktopNotificationPermission( |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 301 #endif | 303 #endif |
| 302 | 304 |
| 303 #if defined(USE_NSS) | 305 #if defined(USE_NSS) |
| 304 crypto::CryptoModuleBlockingPasswordDelegate* | 306 crypto::CryptoModuleBlockingPasswordDelegate* |
| 305 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { | 307 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { |
| 306 return NULL; | 308 return NULL; |
| 307 } | 309 } |
| 308 #endif | 310 #endif |
| 309 | 311 |
| 310 } // namespace content | 312 } // namespace content |
| OLD | NEW |