| 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 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |