| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_BROWSER_BLOB_STORAGE_BLOB_DISPATCHER_HOST_H_ | 5 #ifndef CONTENT_BROWSER_BLOB_STORAGE_BLOB_DISPATCHER_HOST_H_ |
| 6 #define CONTENT_BROWSER_BLOB_STORAGE_BLOB_DISPATCHER_HOST_H_ | 6 #define CONTENT_BROWSER_BLOB_STORAGE_BLOB_DISPATCHER_HOST_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/files/file.h" | 12 #include "base/files/file.h" |
| 13 #include "base/gtest_prod_util.h" | 13 #include "base/gtest_prod_util.h" |
| 14 #include "base/macros.h" | 14 #include "base/macros.h" |
| 15 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
| 16 #include "base/memory/shared_memory_handle.h" | 16 #include "base/memory/shared_memory_handle.h" |
| 17 #include "content/common/content_export.h" | 17 #include "content/common/content_export.h" |
| 18 #include "content/public/browser/browser_message_filter.h" | 18 #include "content/public/browser/browser_message_filter.h" |
| 19 #include "storage/browser/blob/blob_async_builder_host.h" | 19 #include "storage/browser/blob/blob_async_builder_host.h" |
| 20 #include "storage/browser/blob/blob_transport_result.h" | 20 #include "storage/browser/blob/blob_transport_result.h" |
| 21 #include "storage/common/blob_storage/blob_storage_constants.h" | 21 #include "storage/common/blob_storage/blob_storage_constants.h" |
| 22 | 22 |
| 23 class GURL; | 23 class GURL; |
| 24 | 24 |
| 25 namespace IPC { | |
| 26 class Sender; | |
| 27 } | |
| 28 | |
| 29 namespace storage { | 25 namespace storage { |
| 30 class DataElement; | 26 class DataElement; |
| 31 class BlobDataBuilder; | |
| 32 struct BlobItemBytesRequest; | 27 struct BlobItemBytesRequest; |
| 33 struct BlobItemBytesResponse; | 28 struct BlobItemBytesResponse; |
| 34 class BlobStorageContext; | 29 class BlobStorageContext; |
| 35 class FileSystemContext; | 30 class FileSystemContext; |
| 36 } | 31 } |
| 37 | 32 |
| 38 namespace content { | 33 namespace content { |
| 39 class ChromeBlobStorageContext; | 34 class ChromeBlobStorageContext; |
| 40 | 35 |
| 41 // This class's responsibility is to listen for and dispatch blob storage | 36 // This class's responsibility is to listen for and dispatch blob storage |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 // The set of public blob urls coined by this consumer. | 141 // The set of public blob urls coined by this consumer. |
| 147 std::set<GURL> public_blob_urls_; | 142 std::set<GURL> public_blob_urls_; |
| 148 | 143 |
| 149 scoped_refptr<ChromeBlobStorageContext> blob_storage_context_; | 144 scoped_refptr<ChromeBlobStorageContext> blob_storage_context_; |
| 150 storage::BlobAsyncBuilderHost async_builder_; | 145 storage::BlobAsyncBuilderHost async_builder_; |
| 151 | 146 |
| 152 DISALLOW_COPY_AND_ASSIGN(BlobDispatcherHost); | 147 DISALLOW_COPY_AND_ASSIGN(BlobDispatcherHost); |
| 153 }; | 148 }; |
| 154 } // namespace content | 149 } // namespace content |
| 155 #endif // CONTENT_BROWSER_BLOB_STORAGE_BLOB_DISPATCHER_HOST_H_ | 150 #endif // CONTENT_BROWSER_BLOB_STORAGE_BLOB_DISPATCHER_HOST_H_ |
| OLD | NEW |