| 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 "content/public/browser/content_browser_client.h" | 5 #include "content/public/browser/content_browser_client.h" |
| 6 | 6 |
| 7 #include "base/files/file_path.h" | 7 #include "base/files/file_path.h" |
| 8 #include "ui/gfx/image/image_skia.h" | 8 #include "ui/gfx/image/image_skia.h" |
| 9 #include "url/gurl.h" | 9 #include "url/gurl.h" |
| 10 | 10 |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 bool ContentBrowserClient::AllowWorkerDatabase( | 142 bool ContentBrowserClient::AllowWorkerDatabase( |
| 143 const GURL& url, | 143 const GURL& url, |
| 144 const base::string16& name, | 144 const base::string16& name, |
| 145 const base::string16& display_name, | 145 const base::string16& display_name, |
| 146 unsigned long estimated_size, | 146 unsigned long estimated_size, |
| 147 ResourceContext* context, | 147 ResourceContext* context, |
| 148 const std::vector<std::pair<int, int> >& render_frames) { | 148 const std::vector<std::pair<int, int> >& render_frames) { |
| 149 return true; | 149 return true; |
| 150 } | 150 } |
| 151 | 151 |
| 152 bool ContentBrowserClient::AllowWorkerFileSystem( | 152 void ContentBrowserClient::RequestWorkerFileSystemAccessSync( |
| 153 const GURL& url, | 153 const GURL& url, |
| 154 ResourceContext* context, | 154 ResourceContext* context, |
| 155 const std::vector<std::pair<int, int> >& render_frames) { | 155 const std::vector<std::pair<int, int> >& render_frames, |
| 156 return true; | 156 base::Callback<void(bool)> callback) { |
| 157 callback.Run(true); |
| 157 } | 158 } |
| 158 | 159 |
| 159 bool ContentBrowserClient::AllowWorkerIndexedDB( | 160 bool ContentBrowserClient::AllowWorkerIndexedDB( |
| 160 const GURL& url, | 161 const GURL& url, |
| 161 const base::string16& name, | 162 const base::string16& name, |
| 162 ResourceContext* context, | 163 ResourceContext* context, |
| 163 const std::vector<std::pair<int, int> >& render_frames) { | 164 const std::vector<std::pair<int, int> >& render_frames) { |
| 164 return true; | 165 return true; |
| 165 } | 166 } |
| 166 | 167 |
| (...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 341 | 342 |
| 342 #if defined(VIDEO_HOLE) | 343 #if defined(VIDEO_HOLE) |
| 343 ExternalVideoSurfaceContainer* | 344 ExternalVideoSurfaceContainer* |
| 344 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( | 345 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( |
| 345 WebContents* web_contents) { | 346 WebContents* web_contents) { |
| 346 return NULL; | 347 return NULL; |
| 347 } | 348 } |
| 348 #endif | 349 #endif |
| 349 | 350 |
| 350 } // namespace content | 351 } // namespace content |
| OLD | NEW |