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

Unified Diff: chrome/browser/file_system/browser_file_system_callback_dispatcher.cc

Issue 4054003: FileSystem code cleanup 2nd cut - introduce SandboxedFileSystemOperation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 10 years, 1 month 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 | « no previous file | chrome/browser/file_system/browser_file_system_context.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/file_system/browser_file_system_callback_dispatcher.cc
diff --git a/chrome/browser/file_system/browser_file_system_callback_dispatcher.cc b/chrome/browser/file_system/browser_file_system_callback_dispatcher.cc
index b95930f0dfb7ff02b97d401497711c13ed212517..810bf3f8bafe2bb4ab2b51dfcfc4d1d3e9633773 100644
--- a/chrome/browser/file_system/browser_file_system_callback_dispatcher.cc
+++ b/chrome/browser/file_system/browser_file_system_callback_dispatcher.cc
@@ -36,8 +36,11 @@ void BrowserFileSystemCallbackDispatcher::DidReadDirectory(
}
void BrowserFileSystemCallbackDispatcher::DidOpenFileSystem(
- const std::string&, const FilePath&) {
- NOTREACHED();
+ const std::string& name, const FilePath& path) {
+ dispatcher_host_->Send(
+ new ViewMsg_OpenFileSystemRequest_Complete(
+ request_id_, !path.empty(), name, path));
+ dispatcher_host_->RemoveCompletedOperation(request_id_);
}
void BrowserFileSystemCallbackDispatcher::DidFail(
« no previous file with comments | « no previous file | chrome/browser/file_system/browser_file_system_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698