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

Unified Diff: content/common/fileapi/webfilewriter_impl.h

Issue 15658004: Split FileAPI code for common|common_child|renderer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 7 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/common/fileapi/webfilesystem_impl.cc ('k') | content/common/fileapi/webfilewriter_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/fileapi/webfilewriter_impl.h
diff --git a/content/common/fileapi/webfilewriter_impl.h b/content/common/fileapi/webfilewriter_impl.h
deleted file mode 100644
index 77550bf009dc491d9b8cb772a2409c2f1f642e87..0000000000000000000000000000000000000000
--- a/content/common/fileapi/webfilewriter_impl.h
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CONTENT_COMMON_FILEAPI_WEBFILEWRITER_IMPL_H_
-#define CONTENT_COMMON_FILEAPI_WEBFILEWRITER_IMPL_H_
-
-#include "base/memory/ref_counted.h"
-#include "base/memory/weak_ptr.h"
-#include "webkit/fileapi/webfilewriter_base.h"
-
-namespace content {
-
-// An implementation of WebFileWriter for use in chrome renderers and workers.
-class WebFileWriterImpl : public fileapi::WebFileWriterBase,
- public base::SupportsWeakPtr<WebFileWriterImpl> {
- public:
- WebFileWriterImpl(const GURL& path, WebKit::WebFileWriterClient* client);
- virtual ~WebFileWriterImpl();
-
- protected:
- // WebFileWriterBase overrides
- virtual void DoTruncate(const GURL& path, int64 offset) OVERRIDE;
- virtual void DoWrite(const GURL& path, const GURL& blob_url,
- int64 offset) OVERRIDE;
- virtual void DoCancel() OVERRIDE;
-
- private:
- class CallbackDispatcher;
- int request_id_;
-};
-
-} // namespace content
-
-#endif // CONTENT_COMMON_FILEAPI_WEBFILEWRITER_IMPL_H_
« no previous file with comments | « content/common/fileapi/webfilesystem_impl.cc ('k') | content/common/fileapi/webfilewriter_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698