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

Unified Diff: content/browser/fileapi/fileapi_message_filter.cc

Issue 2640963002: LocalFileSystem::deleteFileSystem() is no longer used. (Closed)
Patch Set: remove more Created 3 years, 11 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 | « content/browser/fileapi/fileapi_message_filter.h ('k') | content/child/fileapi/file_system_dispatcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/fileapi/fileapi_message_filter.cc
diff --git a/content/browser/fileapi/fileapi_message_filter.cc b/content/browser/fileapi/fileapi_message_filter.cc
index 53fcccdecb05f2a1130df7a164854471c10bc4fb..3f931c15778c3ecf85b58d7e99b8e310b8e66c58 100644
--- a/content/browser/fileapi/fileapi_message_filter.cc
+++ b/content/browser/fileapi/fileapi_message_filter.cc
@@ -145,7 +145,6 @@ bool FileAPIMessageFilter::OnMessageReceived(const IPC::Message& message) {
IPC_BEGIN_MESSAGE_MAP(FileAPIMessageFilter, message)
IPC_MESSAGE_HANDLER(FileSystemHostMsg_OpenFileSystem, OnOpenFileSystem)
IPC_MESSAGE_HANDLER(FileSystemHostMsg_ResolveURL, OnResolveURL)
- IPC_MESSAGE_HANDLER(FileSystemHostMsg_DeleteFileSystem, OnDeleteFileSystem)
IPC_MESSAGE_HANDLER(FileSystemHostMsg_Move, OnMove)
IPC_MESSAGE_HANDLER(FileSystemHostMsg_Copy, OnCopy)
IPC_MESSAGE_HANDLER(FileSystemHostMsg_Remove, OnRemove)
@@ -212,14 +211,6 @@ void FileAPIMessageFilter::OnResolveURL(
&FileAPIMessageFilter::DidResolveURL, this, request_id));
}
-void FileAPIMessageFilter::OnDeleteFileSystem(int request_id,
- const GURL& origin_url,
- storage::FileSystemType type) {
- DCHECK_CURRENTLY_ON(BrowserThread::IO);
- context_->DeleteFileSystem(origin_url, type, base::Bind(
- &FileAPIMessageFilter::DidDeleteFileSystem, this, request_id));
-}
-
void FileAPIMessageFilter::OnMove(
int request_id, const GURL& src_path, const GURL& dest_path) {
DCHECK_CURRENTLY_ON(BrowserThread::IO);
@@ -701,17 +692,6 @@ void FileAPIMessageFilter::DidResolveURL(
// For ResolveURL we do not create a new operation, so no unregister here.
}
-void FileAPIMessageFilter::DidDeleteFileSystem(
- int request_id,
- base::File::Error result) {
- if (result == base::File::FILE_OK)
- Send(new FileSystemMsg_DidSucceed(request_id));
- else
- Send(new FileSystemMsg_DidFail(request_id, result));
- // For DeleteFileSystem we do not create a new operation,
- // so no unregister here.
-}
-
void FileAPIMessageFilter::DidCreateSnapshot(
int request_id,
const storage::FileSystemURL& url,
« no previous file with comments | « content/browser/fileapi/fileapi_message_filter.h ('k') | content/child/fileapi/file_system_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698