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

Unified Diff: webkit/fileapi/syncable/canned_syncable_file_system.cc

Issue 11787028: New FileSystemURL cracking (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix test on Win Created 7 years, 11 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/syncable/canned_syncable_file_system.cc
diff --git a/webkit/fileapi/syncable/canned_syncable_file_system.cc b/webkit/fileapi/syncable/canned_syncable_file_system.cc
index e96095971216e07ed95c8b603eaf94534e0b5317..0f72c173457bcbf074d9aee43546aeca0d7140e3 100644
--- a/webkit/fileapi/syncable/canned_syncable_file_system.cc
+++ b/webkit/fileapi/syncable/canned_syncable_file_system.cc
@@ -13,6 +13,7 @@
#include "base/task_runner_util.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "webkit/blob/mock_blob_url_request_context.h"
+#include "webkit/fileapi/external_mount_points.h"
#include "webkit/fileapi/file_system_context.h"
#include "webkit/fileapi/file_system_operation_context.h"
#include "webkit/fileapi/file_system_task_runners.h"
@@ -229,7 +230,9 @@ void CannedSyncableFileSystem::TearDown() {
FileSystemURL CannedSyncableFileSystem::URL(const std::string& path) const {
EXPECT_TRUE(is_filesystem_set_up_);
EXPECT_TRUE(is_filesystem_opened_);
- return FileSystemURL(GURL(root_url_.spec() + path));
+
+ GURL url(root_url_.spec() + path);
+ return file_system_context_->CrackURL(url);
}
PlatformFileError CannedSyncableFileSystem::OpenFileSystem() {
« no previous file with comments | « webkit/fileapi/sandbox_mount_point_provider.cc ('k') | webkit/fileapi/syncable/local_file_sync_status_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698