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

Unified Diff: webkit/fileapi/file_system_mount_point_provider.h

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
Index: webkit/fileapi/file_system_mount_point_provider.h
diff --git a/webkit/fileapi/file_system_mount_point_provider.h b/webkit/fileapi/file_system_mount_point_provider.h
index ffbe60d09244b84416c2d418ecfc5f9184b4760e..aa2b84cfd23abddead4a0befe06eb3cb14471a31 100644
--- a/webkit/fileapi/file_system_mount_point_provider.h
+++ b/webkit/fileapi/file_system_mount_point_provider.h
@@ -61,9 +61,7 @@ class FILEAPI_EXPORT FileSystemMountPointProvider {
bool create) = 0;
// Checks if access to |virtual_path| is allowed from |origin_url|.
- virtual bool IsAccessAllowed(const GURL& origin_url,
- FileSystemType type,
- const FilePath& virtual_path) = 0;
+ virtual bool IsAccessAllowed(const FileSystemURL& url) = 0;
// Checks if a given |name| contains any restricted names/chars in it.
// Callable on any thread.

Powered by Google App Engine
This is Rietveld 408576698