| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "chrome/browser/chrome_content_browser_client.h" | 5 #include "chrome/browser/chrome_content_browser_client.h" |
| 6 | 6 |
| 7 #include <set> | 7 #include <set> |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/bind.h" | 10 #include "base/bind.h" |
| (...skipping 846 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 857 | 857 |
| 858 return NULL; | 858 return NULL; |
| 859 } | 859 } |
| 860 | 860 |
| 861 QuotaPermissionContext* | 861 QuotaPermissionContext* |
| 862 ChromeContentBrowserClient::CreateQuotaPermissionContext() { | 862 ChromeContentBrowserClient::CreateQuotaPermissionContext() { |
| 863 return new ChromeQuotaPermissionContext(); | 863 return new ChromeQuotaPermissionContext(); |
| 864 } | 864 } |
| 865 | 865 |
| 866 void ChromeContentBrowserClient::OpenItem(const FilePath& path) { | 866 void ChromeContentBrowserClient::OpenItem(const FilePath& path) { |
| 867 platform_util::OpenItem(path); | 867 platform_util::OpenItem(path, NULL); |
| 868 } | 868 } |
| 869 | 869 |
| 870 void ChromeContentBrowserClient::ShowItemInFolder(const FilePath& path) { | 870 void ChromeContentBrowserClient::ShowItemInFolder(const FilePath& path) { |
| 871 platform_util::ShowItemInFolder(path); | 871 platform_util::ShowItemInFolder(path); |
| 872 } | 872 } |
| 873 | 873 |
| 874 void ChromeContentBrowserClient::AllowCertificateError( | 874 void ChromeContentBrowserClient::AllowCertificateError( |
| 875 SSLCertErrorHandler* handler, | 875 SSLCertErrorHandler* handler, |
| 876 bool overridable, | 876 bool overridable, |
| 877 const base::Callback<void(SSLCertErrorHandler*, bool)>& callback) { | 877 const base::Callback<void(SSLCertErrorHandler*, bool)>& callback) { |
| (...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1212 #if defined(USE_NSS) | 1212 #if defined(USE_NSS) |
| 1213 crypto::CryptoModuleBlockingPasswordDelegate* | 1213 crypto::CryptoModuleBlockingPasswordDelegate* |
| 1214 ChromeContentBrowserClient::GetCryptoPasswordDelegate( | 1214 ChromeContentBrowserClient::GetCryptoPasswordDelegate( |
| 1215 const GURL& url) { | 1215 const GURL& url) { |
| 1216 return browser::NewCryptoModuleBlockingDialogDelegate( | 1216 return browser::NewCryptoModuleBlockingDialogDelegate( |
| 1217 browser::kCryptoModulePasswordKeygen, url.host()); | 1217 browser::kCryptoModulePasswordKeygen, url.host()); |
| 1218 } | 1218 } |
| 1219 #endif | 1219 #endif |
| 1220 | 1220 |
| 1221 } // namespace chrome | 1221 } // namespace chrome |
| OLD | NEW |