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

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

Issue 9558006: Rename content/{common,browser}/file_system to fileapi and move blob stuff into it. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 10 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
Index: content/common/file_system/webfilewriter_impl.h
diff --git a/content/common/file_system/webfilewriter_impl.h b/content/common/file_system/webfilewriter_impl.h
deleted file mode 100644
index 9c9440f823689898b3fe9d9224e746252adb8360..0000000000000000000000000000000000000000
--- a/content/common/file_system/webfilewriter_impl.h
+++ /dev/null
@@ -1,31 +0,0 @@
-// Copyright (c) 2011 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_FILE_SYSTEM_WEBFILEWRITER_IMPL_H_
-#define CONTENT_COMMON_FILE_SYSTEM_WEBFILEWRITER_IMPL_H_
-
-#include "base/memory/ref_counted.h"
-#include "base/memory/weak_ptr.h"
-#include "webkit/fileapi/webfilewriter_base.h"
-
-// 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_;
-};
-
-#endif // CONTENT_COMMON_FILE_SYSTEM_WEBFILEWRITER_IMPL_H_

Powered by Google App Engine
This is Rietveld 408576698