Index: Source/core/inspector/InspectorFileSystemAgent.cpp |
diff --git a/Source/core/inspector/InspectorFileSystemAgent.cpp b/Source/core/inspector/InspectorFileSystemAgent.cpp |
index 872656560117d8eedd6bda1cc5a9b497e510dc8f..91e80b7eff186d351cb58acfc9793adf2f9f633c 100644 |
--- a/Source/core/inspector/InspectorFileSystemAgent.cpp |
+++ b/Source/core/inspector/InspectorFileSystemAgent.cpp |
@@ -163,7 +163,8 @@ void FileSystemRootRequest::start(ScriptExecutionContext* scriptExecutionContext |
RefPtr<EntryCallback> successCallback = CallbackDispatcherFactory<EntryCallback>::create(this, &FileSystemRootRequest::didGetEntry); |
OwnPtr<ResolveURICallbacks> fileSystemCallbacks = ResolveURICallbacks::create(successCallback, errorCallback, scriptExecutionContext, type, "/"); |
- LocalFileSystem::from(scriptExecutionContext)->readFileSystem(scriptExecutionContext, type, fileSystemCallbacks.release()); |
+ // TODO(nhiroki) |
+ LocalFileSystem::from(scriptExecutionContext)->readFileSystem(scriptExecutionContext, KURL(), fileSystemCallbacks.release()); |
} |
bool FileSystemRootRequest::didGetEntry(Entry* entry) |
@@ -233,7 +234,7 @@ void DirectoryContentRequest::start(ScriptExecutionContext* scriptExecutionConte |
RefPtr<EntryCallback> successCallback = CallbackDispatcherFactory<EntryCallback>::create(this, &DirectoryContentRequest::didGetEntry); |
OwnPtr<ResolveURICallbacks> fileSystemCallbacks = ResolveURICallbacks::create(successCallback, errorCallback, scriptExecutionContext, type, path); |
- LocalFileSystem::from(scriptExecutionContext)->readFileSystem(scriptExecutionContext, type, fileSystemCallbacks.release()); |
+ LocalFileSystem::from(scriptExecutionContext)->readFileSystem(scriptExecutionContext, m_url, fileSystemCallbacks.release()); |
} |
bool DirectoryContentRequest::didGetEntry(Entry* entry) |
@@ -357,7 +358,7 @@ void MetadataRequest::start(ScriptExecutionContext* scriptExecutionContext) |
RefPtr<EntryCallback> successCallback = CallbackDispatcherFactory<EntryCallback>::create(this, &MetadataRequest::didGetEntry); |
OwnPtr<ResolveURICallbacks> fileSystemCallbacks = ResolveURICallbacks::create(successCallback, errorCallback, scriptExecutionContext, type, m_path); |
kinuko
2013/09/05 11:12:11
Now that we can crack the given URL in the browser
nhiroki
2013/09/12 05:15:23
Done.
|
- LocalFileSystem::from(scriptExecutionContext)->readFileSystem(scriptExecutionContext, type, fileSystemCallbacks.release()); |
+ LocalFileSystem::from(scriptExecutionContext)->readFileSystem(scriptExecutionContext, m_url, fileSystemCallbacks.release()); |
} |
bool MetadataRequest::didGetEntry(Entry* entry) |
@@ -464,7 +465,7 @@ void FileContentRequest::start(ScriptExecutionContext* scriptExecutionContext) |
RefPtr<EntryCallback> successCallback = CallbackDispatcherFactory<EntryCallback>::create(this, &FileContentRequest::didGetEntry); |
OwnPtr<ResolveURICallbacks> fileSystemCallbacks = ResolveURICallbacks::create(successCallback, errorCallback, scriptExecutionContext, type, path); |
- LocalFileSystem::from(scriptExecutionContext)->readFileSystem(scriptExecutionContext, type, fileSystemCallbacks.release()); |
+ LocalFileSystem::from(scriptExecutionContext)->readFileSystem(scriptExecutionContext, m_url, fileSystemCallbacks.release()); |
} |
bool FileContentRequest::didGetEntry(Entry* entry) |
@@ -577,7 +578,7 @@ void DeleteEntryRequest::start(ScriptExecutionContext* scriptExecutionContext) |
} else { |
RefPtr<EntryCallback> successCallback = CallbackDispatcherFactory<EntryCallback>::create(this, &DeleteEntryRequest::didGetEntry); |
OwnPtr<ResolveURICallbacks> fileSystemCallbacks = ResolveURICallbacks::create(successCallback, errorCallback, scriptExecutionContext, type, path); |
- LocalFileSystem::from(scriptExecutionContext)->readFileSystem(scriptExecutionContext, type, fileSystemCallbacks.release()); |
+ LocalFileSystem::from(scriptExecutionContext)->readFileSystem(scriptExecutionContext, m_url, fileSystemCallbacks.release()); |
} |
} |