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

Unified Diff: content/child/fileapi/webfilewriter_impl.cc

Issue 29513003: Cleanup deprecated and no longer needed blob revamp stuff, deadcode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 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/child/fileapi/webfilewriter_impl.h ('k') | content/child/webblobregistry_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/fileapi/webfilewriter_impl.cc
diff --git a/content/child/fileapi/webfilewriter_impl.cc b/content/child/fileapi/webfilewriter_impl.cc
index bcdc0d2b9f81e1d033ac16f8d803021087620d9f..bd5fbe32932080dbfeeb2882e4e1de74082e2ba4 100644
--- a/content/child/fileapi/webfilewriter_impl.cc
+++ b/content/child/fileapi/webfilewriter_impl.cc
@@ -50,20 +50,6 @@ class WebFileWriterImpl::WriterBridge
base::Bind(&WriterBridge::DidFinish, this));
}
- void WriteDeprecated(
- const GURL& path, const GURL& blob_url, int64 offset,
- const WriteCallback& write_callback,
- const StatusCallback& error_callback) {
- write_callback_ = write_callback;
- status_callback_ = error_callback;
- if (!GetFileSystemDispatcher())
- return;
- ChildThread::current()->file_system_dispatcher()->WriteDeprecated(
- path, blob_url, offset, &request_id_,
- base::Bind(&WriterBridge::DidWrite, this),
- base::Bind(&WriterBridge::DidFinish, this));
- }
-
void Write(const GURL& path, const std::string& id, int64 offset,
const WriteCallback& write_callback,
const StatusCallback& error_callback) {
@@ -153,14 +139,6 @@ void WebFileWriterImpl::DoTruncate(const GURL& path, int64 offset) {
base::Bind(&WebFileWriterImpl::DidFinish, AsWeakPtr())));
}
-void WebFileWriterImpl::DoWriteDeprecated(
- const GURL& path, const GURL& blob_url, int64 offset) {
- RunOnMainThread(base::Bind(&WriterBridge::WriteDeprecated, bridge_,
- path, blob_url, offset,
- base::Bind(&WebFileWriterImpl::DidWrite, AsWeakPtr()),
- base::Bind(&WebFileWriterImpl::DidFinish, AsWeakPtr())));
-}
-
void WebFileWriterImpl::DoWrite(
const GURL& path, const std::string& blob_id, int64 offset) {
RunOnMainThread(base::Bind(&WriterBridge::Write, bridge_,
« no previous file with comments | « content/child/fileapi/webfilewriter_impl.h ('k') | content/child/webblobregistry_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698