OLD | NEW |
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 <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <string> | 10 #include <string> |
11 | 11 |
12 #include "base/callback_forward.h" | |
13 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
14 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
15 #include "content/child/fileapi/webfilewriter_base.h" | 14 #include "content/child/fileapi/webfilewriter_base.h" |
16 | 15 |
17 namespace base { | 16 namespace base { |
18 class SingleThreadTaskRunner; | 17 class SingleThreadTaskRunner; |
19 } | 18 } |
20 | 19 |
21 namespace content { | 20 namespace content { |
22 | 21 |
(...skipping 26 matching lines...) Expand all Loading... |
49 | 48 |
50 void RunOnMainThread(const base::Closure& closure); | 49 void RunOnMainThread(const base::Closure& closure); |
51 | 50 |
52 scoped_refptr<base::SingleThreadTaskRunner> main_thread_task_runner_; | 51 scoped_refptr<base::SingleThreadTaskRunner> main_thread_task_runner_; |
53 scoped_refptr<WriterBridge> bridge_; | 52 scoped_refptr<WriterBridge> bridge_; |
54 }; | 53 }; |
55 | 54 |
56 } // namespace content | 55 } // namespace content |
57 | 56 |
58 #endif // CONTENT_CHILD_FILEAPI_WEBFILEWRITER_IMPL_H_ | 57 #endif // CONTENT_CHILD_FILEAPI_WEBFILEWRITER_IMPL_H_ |
OLD | NEW |