| 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 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 int render_frame_id, | 152 int render_frame_id, |
| 153 net::CookieOptions* options) OVERRIDE; | 153 net::CookieOptions* options) OVERRIDE; |
| 154 virtual bool AllowSaveLocalState(content::ResourceContext* context) OVERRIDE; | 154 virtual bool AllowSaveLocalState(content::ResourceContext* context) OVERRIDE; |
| 155 virtual bool AllowWorkerDatabase( | 155 virtual bool AllowWorkerDatabase( |
| 156 const GURL& url, | 156 const GURL& url, |
| 157 const base::string16& name, | 157 const base::string16& name, |
| 158 const base::string16& display_name, | 158 const base::string16& display_name, |
| 159 unsigned long estimated_size, | 159 unsigned long estimated_size, |
| 160 content::ResourceContext* context, | 160 content::ResourceContext* context, |
| 161 const std::vector<std::pair<int, int> >& render_frames) OVERRIDE; | 161 const std::vector<std::pair<int, int> >& render_frames) OVERRIDE; |
| 162 virtual bool AllowWorkerFileSystem( | 162 virtual void RequestWorkerFileSystemAccessSync( |
| 163 const GURL& url, | 163 const GURL& url, |
| 164 content::ResourceContext* context, | 164 content::ResourceContext* context, |
| 165 const std::vector<std::pair<int, int> >& render_frames) OVERRIDE; | 165 const std::vector<std::pair<int, int> >& render_frames, |
| 166 base::Callback<void(bool)> callback) OVERRIDE; |
| 166 virtual bool AllowWorkerIndexedDB( | 167 virtual bool AllowWorkerIndexedDB( |
| 167 const GURL& url, | 168 const GURL& url, |
| 168 const base::string16& name, | 169 const base::string16& name, |
| 169 content::ResourceContext* context, | 170 content::ResourceContext* context, |
| 170 const std::vector<std::pair<int, int> >& render_frames) OVERRIDE; | 171 const std::vector<std::pair<int, int> >& render_frames) OVERRIDE; |
| 171 virtual net::URLRequestContext* OverrideRequestContextForURL( | 172 virtual net::URLRequestContext* OverrideRequestContextForURL( |
| 172 const GURL& url, content::ResourceContext* context) OVERRIDE; | 173 const GURL& url, content::ResourceContext* context) OVERRIDE; |
| 173 virtual content::QuotaPermissionContext* | 174 virtual content::QuotaPermissionContext* |
| 174 CreateQuotaPermissionContext() OVERRIDE; | 175 CreateQuotaPermissionContext() OVERRIDE; |
| 175 virtual void AllowCertificateError( | 176 virtual void AllowCertificateError( |
| (...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 334 prerender::PrerenderTracker* prerender_tracker_; | 335 prerender::PrerenderTracker* prerender_tracker_; |
| 335 | 336 |
| 336 friend class DisableWebRtcEncryptionFlagTest; | 337 friend class DisableWebRtcEncryptionFlagTest; |
| 337 | 338 |
| 338 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 339 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
| 339 }; | 340 }; |
| 340 | 341 |
| 341 } // namespace chrome | 342 } // namespace chrome |
| 342 | 343 |
| 343 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 344 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |