| 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_WEBFILESYSTEM_IMPL_H_ | 5 #ifndef CONTENT_CHILD_FILEAPI_WEBFILESYSTEM_IMPL_H_ |
| 6 #define CONTENT_CHILD_FILEAPI_WEBFILESYSTEM_IMPL_H_ | 6 #define CONTENT_CHILD_FILEAPI_WEBFILESYSTEM_IMPL_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 11 #include "base/macros.h" | 11 #include "base/macros.h" |
| 12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
| 13 #include "base/threading/non_thread_safe.h" | 13 #include "base/threading/non_thread_safe.h" |
| 14 #include "content/public/child/worker_thread.h" | 14 #include "content/public/child/worker_thread.h" |
| 15 #include "third_party/WebKit/public/platform/WebFileSystem.h" | 15 #include "third_party/WebKit/public/platform/WebFileSystem.h" |
| 16 | 16 |
| 17 namespace base { | 17 namespace base { |
| 18 class SingleThreadTaskRunner; | 18 class SingleThreadTaskRunner; |
| 19 } | 19 } |
| 20 | 20 |
| 21 namespace blink { | 21 namespace blink { |
| 22 class WebURL; | 22 class WebURL; |
| 23 class WebFileWriter; | |
| 24 class WebFileWriterClient; | 23 class WebFileWriterClient; |
| 25 } | 24 } |
| 26 | 25 |
| 27 namespace content { | 26 namespace content { |
| 28 | 27 |
| 29 class WebFileSystemImpl : public blink::WebFileSystem, | 28 class WebFileSystemImpl : public blink::WebFileSystem, |
| 30 public WorkerThread::Observer, | 29 public WorkerThread::Observer, |
| 31 public base::NonThreadSafe { | 30 public base::NonThreadSafe { |
| 32 public: | 31 public: |
| 33 class WaitableCallbackResults; | 32 class WaitableCallbackResults; |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 CallbacksMap callbacks_; | 109 CallbacksMap callbacks_; |
| 111 int next_callbacks_id_; | 110 int next_callbacks_id_; |
| 112 WaitableCallbackResultsMap waitable_results_; | 111 WaitableCallbackResultsMap waitable_results_; |
| 113 | 112 |
| 114 DISALLOW_COPY_AND_ASSIGN(WebFileSystemImpl); | 113 DISALLOW_COPY_AND_ASSIGN(WebFileSystemImpl); |
| 115 }; | 114 }; |
| 116 | 115 |
| 117 } // namespace content | 116 } // namespace content |
| 118 | 117 |
| 119 #endif // CONTENT_CHILD_FILEAPI_WEBFILESYSTEM_IMPL_H_ | 118 #endif // CONTENT_CHILD_FILEAPI_WEBFILESYSTEM_IMPL_H_ |
| OLD | NEW |