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 "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 <utility> | 8 #include <utility> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 1175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1186 } | 1186 } |
1187 | 1187 |
1188 return NULL; | 1188 return NULL; |
1189 } | 1189 } |
1190 | 1190 |
1191 QuotaPermissionContext* | 1191 QuotaPermissionContext* |
1192 ChromeContentBrowserClient::CreateQuotaPermissionContext() { | 1192 ChromeContentBrowserClient::CreateQuotaPermissionContext() { |
1193 return new ChromeQuotaPermissionContext(); | 1193 return new ChromeQuotaPermissionContext(); |
1194 } | 1194 } |
1195 | 1195 |
1196 void ChromeContentBrowserClient::OpenItem(const FilePath& path) { | |
1197 platform_util::OpenItem(path); | |
1198 } | |
1199 | |
1200 void ChromeContentBrowserClient::ShowItemInFolder(const FilePath& path) { | |
1201 platform_util::ShowItemInFolder(path); | |
1202 } | |
1203 | |
1204 void ChromeContentBrowserClient::AllowCertificateError( | 1196 void ChromeContentBrowserClient::AllowCertificateError( |
1205 int render_process_id, | 1197 int render_process_id, |
1206 int render_view_id, | 1198 int render_view_id, |
1207 int cert_error, | 1199 int cert_error, |
1208 const net::SSLInfo& ssl_info, | 1200 const net::SSLInfo& ssl_info, |
1209 const GURL& request_url, | 1201 const GURL& request_url, |
1210 bool overridable, | 1202 bool overridable, |
1211 bool strict_enforcement, | 1203 bool strict_enforcement, |
1212 const base::Callback<void(bool)>& callback, | 1204 const base::Callback<void(bool)>& callback, |
1213 bool* cancel_request) { | 1205 bool* cancel_request) { |
(...skipping 682 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1896 io_thread_application_locale_ = locale; | 1888 io_thread_application_locale_ = locale; |
1897 } | 1889 } |
1898 | 1890 |
1899 void ChromeContentBrowserClient::SetApplicationLocaleOnIOThread( | 1891 void ChromeContentBrowserClient::SetApplicationLocaleOnIOThread( |
1900 const std::string& locale) { | 1892 const std::string& locale) { |
1901 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); | 1893 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); |
1902 io_thread_application_locale_ = locale; | 1894 io_thread_application_locale_ = locale; |
1903 } | 1895 } |
1904 | 1896 |
1905 } // namespace chrome | 1897 } // namespace chrome |
OLD | NEW |