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

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

Issue 1142063003: content/child: Remove use of MessageLoopProxy and deprecated MessageLoop APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Build fix. Created 5 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 unified diff | Download patch
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"
11 #include "base/memory/weak_ptr.h" 11 #include "base/memory/weak_ptr.h"
12 #include "base/message_loop/message_loop_proxy.h"
13 #include "content/child/fileapi/webfilewriter_base.h" 12 #include "content/child/fileapi/webfilewriter_base.h"
14 13
15 namespace content { 14 namespace content {
16 15
17 // An implementation of WebFileWriter for use in chrome renderers and workers. 16 // An implementation of WebFileWriter for use in chrome renderers and workers.
18 class WebFileWriterImpl : public WebFileWriterBase, 17 class WebFileWriterImpl : public WebFileWriterBase,
19 public base::SupportsWeakPtr<WebFileWriterImpl> { 18 public base::SupportsWeakPtr<WebFileWriterImpl> {
20 public: 19 public:
21 enum Type { 20 enum Type {
22 TYPE_SYNC, 21 TYPE_SYNC,
(...skipping 20 matching lines...) Expand all
43 42
44 void RunOnMainThread(const base::Closure& closure); 43 void RunOnMainThread(const base::Closure& closure);
45 44
46 scoped_refptr<base::SingleThreadTaskRunner> main_thread_task_runner_; 45 scoped_refptr<base::SingleThreadTaskRunner> main_thread_task_runner_;
47 scoped_refptr<WriterBridge> bridge_; 46 scoped_refptr<WriterBridge> bridge_;
48 }; 47 };
49 48
50 } // namespace content 49 } // namespace content
51 50
52 #endif // CONTENT_CHILD_FILEAPI_WEBFILEWRITER_IMPL_H_ 51 #endif // CONTENT_CHILD_FILEAPI_WEBFILEWRITER_IMPL_H_
OLDNEW
« no previous file with comments | « content/child/fileapi/webfilesystem_impl.cc ('k') | content/child/indexed_db/indexed_db_dispatcher_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698