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

Unified Diff: webkit/browser/fileapi/test_file_system_backend.cc

Issue 18300006: FileAPI: Factor out getting root URI and FS name parts into each FS backend (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/browser/fileapi/sandbox_file_system_backend_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/browser/fileapi/test_file_system_backend.cc
diff --git a/webkit/browser/fileapi/test_file_system_backend.cc b/webkit/browser/fileapi/test_file_system_backend.cc
index ff7ebff81082efb8c42805a67425b217813ac3ee..17e708567b5d5b916ce8f02672afb43d849800c2 100644
--- a/webkit/browser/fileapi/test_file_system_backend.cc
+++ b/webkit/browser/fileapi/test_file_system_backend.cc
@@ -104,7 +104,9 @@ void TestFileSystemBackend::OpenFileSystem(
FileSystemType type,
OpenFileSystemMode mode,
const OpenFileSystemCallback& callback) {
- callback.Run(base::PLATFORM_FILE_OK);
+ callback.Run(GetFileSystemRootURI(origin_url, type),
+ GetFileSystemName(origin_url, type),
+ base::PLATFORM_FILE_OK);
}
FileSystemFileUtil* TestFileSystemBackend::GetFileUtil(FileSystemType type) {
« no previous file with comments | « webkit/browser/fileapi/sandbox_file_system_backend_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698