summaryrefslogtreecommitdiffstats
path: root/content/child/fileapi
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-28 22:45:29 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-28 22:45:29 +0000
commit5762bd6b2f0ac5874bfd408a1cb7c22d0a76f903 (patch)
tree2a9974c91c380019a1d77b90be8a0bd25cfeea1a /content/child/fileapi
parent57fbed159412ef9bf0639d1af22250629f5a32c7 (diff)
downloadchromium_src-5762bd6b2f0ac5874bfd408a1cb7c22d0a76f903.zip
chromium_src-5762bd6b2f0ac5874bfd408a1cb7c22d0a76f903.tar.gz
chromium_src-5762bd6b2f0ac5874bfd408a1cb7c22d0a76f903.tar.bz2
Cleanup: Remove unused FileSystemMsg_DidOpenFile message.
Review URL: https://codereview.chromium.org/419963003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@286010 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/child/fileapi')
-rw-r--r--content/child/fileapi/file_system_dispatcher.cc21
-rw-r--r--content/child/fileapi/file_system_dispatcher.h5
2 files changed, 0 insertions, 26 deletions
diff --git a/content/child/fileapi/file_system_dispatcher.cc b/content/child/fileapi/file_system_dispatcher.cc
index 1e69c82..0a43ee8 100644
--- a/content/child/fileapi/file_system_dispatcher.cc
+++ b/content/child/fileapi/file_system_dispatcher.cc
@@ -117,12 +117,6 @@ class FileSystemDispatcher::CallbackDispatcher {
write_callback_.Run(bytes, complete);
}
- void DidOpenFile(base::PlatformFile file,
- int file_open_id,
- quota::QuotaLimitType quota_policy) {
- open_callback_.Run(file, file_open_id, quota_policy);
- }
-
private:
CallbackDispatcher() {}
@@ -133,7 +127,6 @@ class FileSystemDispatcher::CallbackDispatcher {
OpenFileSystemCallback filesystem_callback_;
ResolveURLCallback resolve_callback_;
WriteCallback write_callback_;
- OpenFileCallback open_callback_;
StatusCallback error_callback_;
@@ -167,7 +160,6 @@ bool FileSystemDispatcher::OnMessageReceived(const IPC::Message& msg) {
OnDidCreateSnapshotFile)
IPC_MESSAGE_HANDLER(FileSystemMsg_DidFail, OnDidFail)
IPC_MESSAGE_HANDLER(FileSystemMsg_DidWrite, OnDidWrite)
- IPC_MESSAGE_HANDLER(FileSystemMsg_DidOpenFile, OnDidOpenFile)
IPC_MESSAGE_UNHANDLED(handled = false)
IPC_END_MESSAGE_MAP()
return handled;
@@ -411,17 +403,4 @@ void FileSystemDispatcher::OnDidWrite(
dispatchers_.Remove(request_id);
}
-void FileSystemDispatcher::OnDidOpenFile(
- int request_id,
- IPC::PlatformFileForTransit file,
- int file_open_id,
- quota::QuotaLimitType quota_policy) {
- CallbackDispatcher* dispatcher = dispatchers_.Lookup(request_id);
- DCHECK(dispatcher);
- dispatcher->DidOpenFile(IPC::PlatformFileForTransitToPlatformFile(file),
- file_open_id,
- quota_policy);
- dispatchers_.Remove(request_id);
-}
-
} // namespace content
diff --git a/content/child/fileapi/file_system_dispatcher.h b/content/child/fileapi/file_system_dispatcher.h
index 6d098b6..61346078 100644
--- a/content/child/fileapi/file_system_dispatcher.h
+++ b/content/child/fileapi/file_system_dispatcher.h
@@ -147,11 +147,6 @@ class FileSystemDispatcher : public IPC::Listener {
bool has_more);
void OnDidFail(int request_id, base::File::Error error_code);
void OnDidWrite(int request_id, int64 bytes, bool complete);
- void OnDidOpenFile(
- int request_id,
- IPC::PlatformFileForTransit file,
- int file_open_id,
- quota::QuotaLimitType quota_policy);
IDMap<CallbackDispatcher, IDMapOwnPointer> dispatchers_;