Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(686)

Side by Side Diff: content/public/browser/content_browser_client.cc

Issue 338353007: Implementation of shared worker code path for WebView file system permission. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master_sharedworker
Patch Set: Small changes are made. Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/public/browser/content_browser_client.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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::AllowWorkerFileSystem(
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 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
343 344
344 #if defined(VIDEO_HOLE) 345 #if defined(VIDEO_HOLE)
345 ExternalVideoSurfaceContainer* 346 ExternalVideoSurfaceContainer*
346 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( 347 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer(
347 WebContents* web_contents) { 348 WebContents* web_contents) {
348 return NULL; 349 return NULL;
349 } 350 }
350 #endif 351 #endif
351 352
352 } // namespace content 353 } // namespace content
OLDNEW
« no previous file with comments | « content/public/browser/content_browser_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698