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 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 const std::vector<std::pair<int, int> >& render_views) OVERRIDE; | 138 const std::vector<std::pair<int, int> >& render_views) OVERRIDE; |
139 virtual bool AllowWorkerFileSystem( | 139 virtual bool AllowWorkerFileSystem( |
140 const GURL& url, | 140 const GURL& url, |
141 content::ResourceContext* context, | 141 content::ResourceContext* context, |
142 const std::vector<std::pair<int, int> >& render_views) OVERRIDE; | 142 const std::vector<std::pair<int, int> >& render_views) OVERRIDE; |
143 virtual bool AllowWorkerIndexedDB( | 143 virtual bool AllowWorkerIndexedDB( |
144 const GURL& url, | 144 const GURL& url, |
145 const string16& name, | 145 const string16& name, |
146 content::ResourceContext* context, | 146 content::ResourceContext* context, |
147 const std::vector<std::pair<int, int> >& render_views) OVERRIDE; | 147 const std::vector<std::pair<int, int> >& render_views) OVERRIDE; |
| 148 virtual net::URLRequestContext* OverrideRequestContextForURL( |
| 149 const GURL& url, content::ResourceContext* context) OVERRIDE; |
148 virtual content::QuotaPermissionContext* | 150 virtual content::QuotaPermissionContext* |
149 CreateQuotaPermissionContext() OVERRIDE; | 151 CreateQuotaPermissionContext() OVERRIDE; |
150 virtual void AllowCertificateError( | 152 virtual void AllowCertificateError( |
151 int render_process_id, | 153 int render_process_id, |
152 int render_view_id, | 154 int render_view_id, |
153 int cert_error, | 155 int cert_error, |
154 const net::SSLInfo& ssl_info, | 156 const net::SSLInfo& ssl_info, |
155 const GURL& request_url, | 157 const GURL& request_url, |
156 ResourceType::Type resource_type, | 158 ResourceType::Type resource_type, |
157 bool overridable, | 159 bool overridable, |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
269 #endif | 271 #endif |
270 scoped_ptr<extensions::BrowserPermissionsPolicyDelegate> | 272 scoped_ptr<extensions::BrowserPermissionsPolicyDelegate> |
271 permissions_policy_delegate_; | 273 permissions_policy_delegate_; |
272 | 274 |
273 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 275 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
274 }; | 276 }; |
275 | 277 |
276 } // namespace chrome | 278 } // namespace chrome |
277 | 279 |
278 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 280 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |