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

Side by Side Diff: content/child/fileapi/webfilewriter_impl.h

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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_CHILD_FILEAPI_WEBFILEWRITER_IMPL_H_ 5 #ifndef CONTENT_CHILD_FILEAPI_WEBFILEWRITER_IMPL_H_
6 #define CONTENT_CHILD_FILEAPI_WEBFILEWRITER_IMPL_H_ 6 #define CONTENT_CHILD_FILEAPI_WEBFILEWRITER_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 14 matching lines...) Expand all
25 25
26 WebFileWriterImpl(const GURL& path, 26 WebFileWriterImpl(const GURL& path,
27 WebKit::WebFileWriterClient* client, 27 WebKit::WebFileWriterClient* client,
28 Type type, 28 Type type,
29 base::MessageLoopProxy* main_thread_loop); 29 base::MessageLoopProxy* main_thread_loop);
30 virtual ~WebFileWriterImpl(); 30 virtual ~WebFileWriterImpl();
31 31
32 protected: 32 protected:
33 // WebFileWriterBase overrides 33 // WebFileWriterBase overrides
34 virtual void DoTruncate(const GURL& path, int64 offset) OVERRIDE; 34 virtual void DoTruncate(const GURL& path, int64 offset) OVERRIDE;
35 virtual void DoWriteDeprecated(
36 const GURL& path, const GURL& blob_url, int64 offset) OVERRIDE;
37 virtual void DoWrite(const GURL& path, const std::string& blob_id, 35 virtual void DoWrite(const GURL& path, const std::string& blob_id,
38 int64 offset) OVERRIDE; 36 int64 offset) OVERRIDE;
39 virtual void DoCancel() OVERRIDE; 37 virtual void DoCancel() OVERRIDE;
40 38
41 private: 39 private:
42 class WriterBridge; 40 class WriterBridge;
43 41
44 void RunOnMainThread(const base::Closure& closure); 42 void RunOnMainThread(const base::Closure& closure);
45 43
46 scoped_refptr<base::MessageLoopProxy> main_thread_loop_; 44 scoped_refptr<base::MessageLoopProxy> main_thread_loop_;
47 scoped_refptr<WriterBridge> bridge_; 45 scoped_refptr<WriterBridge> bridge_;
48 }; 46 };
49 47
50 } // namespace content 48 } // namespace content
51 49
52 #endif // CONTENT_CHILD_FILEAPI_WEBFILEWRITER_IMPL_H_ 50 #endif // CONTENT_CHILD_FILEAPI_WEBFILEWRITER_IMPL_H_
OLDNEW
« no previous file with comments | « content/child/fileapi/webfilewriter_base_unittest.cc ('k') | content/child/fileapi/webfilewriter_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698