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

Unified Diff: chrome/browser/chromeos/extensions/file_handler_util.cc

Issue 10873055: Changed FileSystemPointProvider::IsAcccessAllowed() to take a single FileSystemURL instead of a tri… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix for typos from Kinuko's review. Sorry, I will look more closely at my own diff next time Created 8 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webkit/chromeos/fileapi/cros_mount_point_provider.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/extensions/file_handler_util.cc
diff --git a/chrome/browser/chromeos/extensions/file_handler_util.cc b/chrome/browser/chromeos/extensions/file_handler_util.cc
index b461c9d0072826e9c1127672279060c758605b97..cd2ee5ea20f4adfe2cb27769e1223c31e2887e5a 100644
--- a/chrome/browser/chromeos/extensions/file_handler_util.cc
+++ b/chrome/browser/chromeos/extensions/file_handler_util.cc
@@ -576,11 +576,8 @@ class ExtensionTaskExecutor::ExecuteTasksFileSystemCallbackDispatcher {
if (!external_provider)
return false;
- if (!external_provider->IsAccessAllowed(url.origin(),
- url.type(),
- url.virtual_path())) {
+ if (!external_provider->IsAccessAllowed(url))
hashimoto 2012/08/27 06:43:22 nit: Combine this 'if' with the above one using '|
return false;
- }
// Make sure this url really being used by the right caller extension.
if (source_url_.GetOrigin() != url.origin()) {
« no previous file with comments | « no previous file | webkit/chromeos/fileapi/cros_mount_point_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698