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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 int render_frame_id, | 141 int render_frame_id, |
142 net::CookieOptions* options) OVERRIDE; | 142 net::CookieOptions* options) OVERRIDE; |
143 virtual bool AllowSaveLocalState(content::ResourceContext* context) OVERRIDE; | 143 virtual bool AllowSaveLocalState(content::ResourceContext* context) OVERRIDE; |
144 virtual bool AllowWorkerDatabase( | 144 virtual bool AllowWorkerDatabase( |
145 const GURL& url, | 145 const GURL& url, |
146 const base::string16& name, | 146 const base::string16& name, |
147 const base::string16& display_name, | 147 const base::string16& display_name, |
148 unsigned long estimated_size, | 148 unsigned long estimated_size, |
149 content::ResourceContext* context, | 149 content::ResourceContext* context, |
150 const std::vector<std::pair<int, int> >& render_frames) OVERRIDE; | 150 const std::vector<std::pair<int, int> >& render_frames) OVERRIDE; |
151 virtual bool AllowWorkerFileSystem( | 151 virtual void AllowWorkerFileSystem( |
152 const GURL& url, | 152 const GURL& url, |
153 content::ResourceContext* context, | 153 content::ResourceContext* context, |
154 const std::vector<std::pair<int, int> >& render_frames) OVERRIDE; | 154 const std::vector<std::pair<int, int> >& render_frames, |
| 155 base::Callback<void(bool)> callback) OVERRIDE; |
155 virtual bool AllowWorkerIndexedDB( | 156 virtual bool AllowWorkerIndexedDB( |
156 const GURL& url, | 157 const GURL& url, |
157 const base::string16& name, | 158 const base::string16& name, |
158 content::ResourceContext* context, | 159 content::ResourceContext* context, |
159 const std::vector<std::pair<int, int> >& render_frames) OVERRIDE; | 160 const std::vector<std::pair<int, int> >& render_frames) OVERRIDE; |
160 virtual net::URLRequestContext* OverrideRequestContextForURL( | 161 virtual net::URLRequestContext* OverrideRequestContextForURL( |
161 const GURL& url, content::ResourceContext* context) OVERRIDE; | 162 const GURL& url, content::ResourceContext* context) OVERRIDE; |
162 virtual content::QuotaPermissionContext* | 163 virtual content::QuotaPermissionContext* |
163 CreateQuotaPermissionContext() OVERRIDE; | 164 CreateQuotaPermissionContext() OVERRIDE; |
164 virtual void AllowCertificateError( | 165 virtual void AllowCertificateError( |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
323 prerender::PrerenderTracker* prerender_tracker_; | 324 prerender::PrerenderTracker* prerender_tracker_; |
324 | 325 |
325 friend class DisableWebRtcEncryptionFlagTest; | 326 friend class DisableWebRtcEncryptionFlagTest; |
326 | 327 |
327 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 328 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
328 }; | 329 }; |
329 | 330 |
330 } // namespace chrome | 331 } // namespace chrome |
331 | 332 |
332 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 333 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |