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 #ifndef CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 #include <utility> | 10 #include <utility> |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 const std::vector<std::pair<int, int> >& render_views) OVERRIDE; | 119 const std::vector<std::pair<int, int> >& render_views) OVERRIDE; |
120 virtual bool AllowWorkerIndexedDB( | 120 virtual bool AllowWorkerIndexedDB( |
121 const GURL& url, | 121 const GURL& url, |
122 const string16& name, | 122 const string16& name, |
123 content::ResourceContext* context, | 123 content::ResourceContext* context, |
124 const std::vector<std::pair<int, int> >& render_views) OVERRIDE; | 124 const std::vector<std::pair<int, int> >& render_views) OVERRIDE; |
125 virtual net::URLRequestContext* OverrideRequestContextForURL( | 125 virtual net::URLRequestContext* OverrideRequestContextForURL( |
126 const GURL& url, content::ResourceContext* context) OVERRIDE; | 126 const GURL& url, content::ResourceContext* context) OVERRIDE; |
127 virtual content::QuotaPermissionContext* | 127 virtual content::QuotaPermissionContext* |
128 CreateQuotaPermissionContext() OVERRIDE; | 128 CreateQuotaPermissionContext() OVERRIDE; |
129 virtual void OpenItem(const FilePath& path) OVERRIDE; | |
130 virtual void ShowItemInFolder(const FilePath& path) OVERRIDE; | |
131 virtual void AllowCertificateError( | 129 virtual void AllowCertificateError( |
132 int render_process_id, | 130 int render_process_id, |
133 int render_view_id, | 131 int render_view_id, |
134 int cert_error, | 132 int cert_error, |
135 const net::SSLInfo& ssl_info, | 133 const net::SSLInfo& ssl_info, |
136 const GURL& request_url, | 134 const GURL& request_url, |
137 bool overridable, | 135 bool overridable, |
138 bool strict_enforcement, | 136 bool strict_enforcement, |
139 const base::Callback<void(bool)>& callback, | 137 const base::Callback<void(bool)>& callback, |
140 bool* cancel_request) OVERRIDE; | 138 bool* cancel_request) OVERRIDE; |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
238 // Cached version of the locale so we can return the locale on the I/O | 236 // Cached version of the locale so we can return the locale on the I/O |
239 // thread. | 237 // thread. |
240 std::string io_thread_application_locale_; | 238 std::string io_thread_application_locale_; |
241 | 239 |
242 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 240 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
243 }; | 241 }; |
244 | 242 |
245 } // namespace chrome | 243 } // namespace chrome |
246 | 244 |
247 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 245 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |