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

Unified Diff: webkit/fileapi/test_mount_point_provider.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
Index: webkit/fileapi/test_mount_point_provider.cc
diff --git a/webkit/fileapi/test_mount_point_provider.cc b/webkit/fileapi/test_mount_point_provider.cc
index fd0023e34bf3ddaeedf532dd27eb8471dfd6e665..1d6025b0ea8a84cc4f91c8473ad1961cf9f4fc7e 100644
--- a/webkit/fileapi/test_mount_point_provider.cc
+++ b/webkit/fileapi/test_mount_point_provider.cc
@@ -114,9 +114,8 @@ FilePath TestMountPointProvider::GetFileSystemRootPathOnFileThread(
return success ? base_path_ : FilePath();
}
-bool TestMountPointProvider::IsAccessAllowed(
- const GURL& origin_url, FileSystemType type, const FilePath& virtual_path) {
- return type == fileapi::kFileSystemTypeTest;
+bool TestMountPointProvider::IsAccessAllowed(const FileSystemURL& url) {
+ return url.type() == fileapi::kFileSystemTypeTest;
}
bool TestMountPointProvider::IsRestrictedFileName(

Powered by Google App Engine
This is Rietveld 408576698