diff options
author | kinuko@chromium.org <kinuko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-25 19:44:49 +0000 |
---|---|---|
committer | kinuko@chromium.org <kinuko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-25 19:44:49 +0000 |
commit | 52785d4c507c7c1f997d8bac300d0e9c13ac6391 (patch) | |
tree | ccf53ad81ffece1e3c036661e41e4e7befc0ceed /chrome/common/child_thread.cc | |
parent | 7c9ae8ce124cf730b0ef45b43a3b0bba8d284998 (diff) | |
download | chromium_src-52785d4c507c7c1f997d8bac300d0e9c13ac6391.zip chromium_src-52785d4c507c7c1f997d8bac300d0e9c13ac6391.tar.gz chromium_src-52785d4c507c7c1f997d8bac300d0e9c13ac6391.tar.bz2 |
Add WebFileSystemImpl and 2nd cut of IPC plumbing code for Move operation.
Plumbing code for the remaining operations (Copy, Remove etc) will come later in a separate patch once this one becomes to look good.
BUG=32277
TESTS=none, will be added later
Review URL: http://codereview.chromium.org/3165040
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57365 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/child_thread.cc')
-rw-r--r-- | chrome/common/child_thread.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/common/child_thread.cc b/chrome/common/child_thread.cc index 126fc2b..8e6fbce 100644 --- a/chrome/common/child_thread.cc +++ b/chrome/common/child_thread.cc @@ -9,6 +9,7 @@ #include "base/command_line.h" #include "chrome/common/child_process.h" #include "chrome/common/chrome_switches.h" +#include "chrome/common/file_system/file_system_dispatcher.h" #include "chrome/common/notification_service.h" #include "chrome/common/plugin_messages.h" #include "chrome/common/resource_dispatcher.h" @@ -51,6 +52,7 @@ void ChildThread::Init() { resource_dispatcher_.reset(new ResourceDispatcher(this)); socket_stream_dispatcher_.reset(new SocketStreamDispatcher()); + file_system_dispatcher_.reset(new FileSystemDispatcher()); sync_message_filter_ = new IPC::SyncMessageFilter(ChildProcess::current()->GetShutDownEvent()); @@ -138,6 +140,8 @@ void ChildThread::OnMessageReceived(const IPC::Message& msg) { return; if (socket_stream_dispatcher_->OnMessageReceived(msg)) return; + if (file_system_dispatcher_->OnMessageReceived(msg)) + return; bool handled = true; IPC_BEGIN_MESSAGE_MAP(ChildThread, msg) |