| 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/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/public/browser/resource_dispatcher_host.h" | 9 #include "content/public/browser/resource_dispatcher_host.h" |
| 10 #include "content/shell/shell.h" | 10 #include "content/shell/shell.h" |
| (...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 void ShellContentBrowserClient::ShowItemInFolder(const FilePath& path) { | 192 void ShellContentBrowserClient::ShowItemInFolder(const FilePath& path) { |
| 193 } | 193 } |
| 194 | 194 |
| 195 void ShellContentBrowserClient::AllowCertificateError( | 195 void ShellContentBrowserClient::AllowCertificateError( |
| 196 int render_process_id, | 196 int render_process_id, |
| 197 int render_view_id, | 197 int render_view_id, |
| 198 int cert_error, | 198 int cert_error, |
| 199 const net::SSLInfo& ssl_info, | 199 const net::SSLInfo& ssl_info, |
| 200 const GURL& request_url, | 200 const GURL& request_url, |
| 201 bool overridable, | 201 bool overridable, |
| 202 bool strict_enforcement, |
| 202 const base::Callback<void(bool)>& callback, | 203 const base::Callback<void(bool)>& callback, |
| 203 bool* cancel_request) { | 204 bool* cancel_request) { |
| 204 } | 205 } |
| 205 | 206 |
| 206 void ShellContentBrowserClient::SelectClientCertificate( | 207 void ShellContentBrowserClient::SelectClientCertificate( |
| 207 int render_process_id, | 208 int render_process_id, |
| 208 int render_view_id, | 209 int render_view_id, |
| 209 const net::HttpNetworkSession* network_session, | 210 const net::HttpNetworkSession* network_session, |
| 210 net::SSLCertRequestInfo* cert_request_info, | 211 net::SSLCertRequestInfo* cert_request_info, |
| 211 const base::Callback<void(net::X509Certificate*)>& callback) { | 212 const base::Callback<void(net::X509Certificate*)>& callback) { |
| (...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 353 ShellContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { | 354 ShellContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { |
| 354 return NULL; | 355 return NULL; |
| 355 } | 356 } |
| 356 #endif | 357 #endif |
| 357 | 358 |
| 358 ShellBrowserContext* ShellContentBrowserClient::browser_context() { | 359 ShellBrowserContext* ShellContentBrowserClient::browser_context() { |
| 359 return shell_browser_main_parts_->browser_context(); | 360 return shell_browser_main_parts_->browser_context(); |
| 360 } | 361 } |
| 361 | 362 |
| 362 } // namespace content | 363 } // namespace content |
| OLD | NEW |