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