OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_BLOB_STORAGE_BLOB_TRANSPORT_CONTROLLER_H_ | 5 #ifndef CONTENT_CHILD_BLOB_STORAGE_BLOB_TRANSPORT_CONTROLLER_H_ |
6 #define CONTENT_CHILD_BLOB_STORAGE_BLOB_TRANSPORT_CONTROLLER_H_ | 6 #define CONTENT_CHILD_BLOB_STORAGE_BLOB_TRANSPORT_CONTROLLER_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include <map> | 10 #include <map> |
(...skipping 19 matching lines...) Expand all Loading... |
30 class TaskRunner; | 30 class TaskRunner; |
31 } | 31 } |
32 | 32 |
33 namespace storage { | 33 namespace storage { |
34 class DataElement; | 34 class DataElement; |
35 struct BlobItemBytesRequest; | 35 struct BlobItemBytesRequest; |
36 struct BlobItemBytesResponse; | 36 struct BlobItemBytesResponse; |
37 } | 37 } |
38 | 38 |
39 namespace IPC { | 39 namespace IPC { |
40 class Message; | |
41 class Sender; | 40 class Sender; |
42 } | 41 } |
43 | 42 |
44 namespace content { | 43 namespace content { |
45 | 44 |
46 class BlobConsolidation; | 45 class BlobConsolidation; |
47 class ThreadSafeSender; | 46 class ThreadSafeSender; |
48 | 47 |
49 // This class is used to manage all the asynchronous transporation of blobs from | 48 // This class is used to manage all the asynchronous transporation of blobs from |
50 // the Renderer to the Browser process, where it's handling the Renderer side. | 49 // the Renderer to the Browser process, where it's handling the Renderer side. |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 | 140 |
142 scoped_refptr<base::SingleThreadTaskRunner> main_thread_runner_; | 141 scoped_refptr<base::SingleThreadTaskRunner> main_thread_runner_; |
143 std::map<std::string, scoped_refptr<BlobConsolidation>> blob_storage_; | 142 std::map<std::string, scoped_refptr<BlobConsolidation>> blob_storage_; |
144 base::WeakPtrFactory<BlobTransportController> weak_factory_; | 143 base::WeakPtrFactory<BlobTransportController> weak_factory_; |
145 | 144 |
146 DISALLOW_COPY_AND_ASSIGN(BlobTransportController); | 145 DISALLOW_COPY_AND_ASSIGN(BlobTransportController); |
147 }; | 146 }; |
148 | 147 |
149 } // namespace content | 148 } // namespace content |
150 #endif // CONTENT_CHILD_BLOB_STORAGE_BLOB_TRANSPORT_CONTROLLER_H_ | 149 #endif // CONTENT_CHILD_BLOB_STORAGE_BLOB_TRANSPORT_CONTROLLER_H_ |
OLD | NEW |