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 STORAGE_BROWSER_BLOB_BLOB_ASYNC_BUILDER_HOST_H_ | 5 #ifndef STORAGE_BROWSER_BLOB_BLOB_ASYNC_BUILDER_HOST_H_ |
6 #define STORAGE_BROWSER_BLOB_BLOB_ASYNC_BUILDER_HOST_H_ | 6 #define STORAGE_BROWSER_BLOB_BLOB_ASYNC_BUILDER_HOST_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
11 #include <map> | 11 #include <map> |
12 #include <memory> | 12 #include <memory> |
13 #include <set> | 13 #include <set> |
14 #include <string> | 14 #include <string> |
15 #include <vector> | 15 #include <vector> |
16 | 16 |
17 #include "base/callback.h" | 17 #include "base/callback.h" |
18 #include "base/files/file.h" | 18 #include "base/files/file.h" |
19 #include "base/macros.h" | 19 #include "base/macros.h" |
20 #include "base/memory/ref_counted.h" | |
21 #include "base/memory/shared_memory_handle.h" | 20 #include "base/memory/shared_memory_handle.h" |
22 #include "base/memory/weak_ptr.h" | 21 #include "base/memory/weak_ptr.h" |
23 #include "storage/browser/blob/blob_async_transport_request_builder.h" | 22 #include "storage/browser/blob/blob_async_transport_request_builder.h" |
24 #include "storage/browser/blob/blob_data_builder.h" | 23 #include "storage/browser/blob/blob_data_builder.h" |
25 #include "storage/browser/blob/blob_transport_result.h" | 24 #include "storage/browser/blob/blob_transport_result.h" |
26 #include "storage/browser/storage_browser_export.h" | 25 #include "storage/browser/storage_browser_export.h" |
27 #include "storage/common/blob_storage/blob_item_bytes_request.h" | 26 #include "storage/common/blob_storage/blob_item_bytes_request.h" |
28 #include "storage/common/blob_storage/blob_item_bytes_response.h" | 27 #include "storage/common/blob_storage/blob_item_bytes_response.h" |
29 #include "storage/common/blob_storage/blob_storage_constants.h" | 28 #include "storage/common/blob_storage/blob_storage_constants.h" |
30 #include "storage/common/data_element.h" | 29 #include "storage/common/data_element.h" |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 size_t max_shared_memory_size_ = kBlobStorageMaxSharedMemoryBytes; | 196 size_t max_shared_memory_size_ = kBlobStorageMaxSharedMemoryBytes; |
198 uint64_t max_file_size_ = kBlobStorageMaxFileSizeBytes; | 197 uint64_t max_file_size_ = kBlobStorageMaxFileSizeBytes; |
199 | 198 |
200 base::WeakPtrFactory<BlobAsyncBuilderHost> ptr_factory_; | 199 base::WeakPtrFactory<BlobAsyncBuilderHost> ptr_factory_; |
201 | 200 |
202 DISALLOW_COPY_AND_ASSIGN(BlobAsyncBuilderHost); | 201 DISALLOW_COPY_AND_ASSIGN(BlobAsyncBuilderHost); |
203 }; | 202 }; |
204 | 203 |
205 } // namespace storage | 204 } // namespace storage |
206 #endif // STORAGE_BROWSER_BLOB_BLOB_ASYNC_BUILDER_HOST_H_ | 205 #endif // STORAGE_BROWSER_BLOB_BLOB_ASYNC_BUILDER_HOST_H_ |
OLD | NEW |