OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 STORAGE_BROWSER_BLOB_BLOB_DATA_HANDLE_H_ | 5 #ifndef STORAGE_BROWSER_BLOB_BLOB_DATA_HANDLE_H_ |
6 #define STORAGE_BROWSER_BLOB_BLOB_DATA_HANDLE_H_ | 6 #define STORAGE_BROWSER_BLOB_BLOB_DATA_HANDLE_H_ |
7 | 7 |
8 #include <limits> | 8 #include <limits> |
9 #include <memory> | 9 #include <memory> |
10 #include <string> | 10 #include <string> |
11 | 11 |
12 #include "base/callback_forward.h" | 12 #include "base/callback_forward.h" |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
14 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
15 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
16 #include "base/sequenced_task_runner_helpers.h" | |
17 #include "base/supports_user_data.h" | 16 #include "base/supports_user_data.h" |
18 #include "storage/browser/storage_browser_export.h" | 17 #include "storage/browser/storage_browser_export.h" |
19 #include "storage/common/blob_storage/blob_storage_constants.h" | 18 #include "storage/common/blob_storage/blob_storage_constants.h" |
20 | 19 |
21 namespace base { | 20 namespace base { |
22 class SequencedTaskRunner; | 21 class SequencedTaskRunner; |
23 } | 22 } |
24 | 23 |
25 namespace storage { | 24 namespace storage { |
26 | 25 |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 BlobStorageContext* context, | 129 BlobStorageContext* context, |
131 base::SequencedTaskRunner* io_task_runner); | 130 base::SequencedTaskRunner* io_task_runner); |
132 | 131 |
133 scoped_refptr<base::SequencedTaskRunner> io_task_runner_; | 132 scoped_refptr<base::SequencedTaskRunner> io_task_runner_; |
134 scoped_refptr<BlobDataHandleShared> shared_; | 133 scoped_refptr<BlobDataHandleShared> shared_; |
135 }; | 134 }; |
136 | 135 |
137 } // namespace storage | 136 } // namespace storage |
138 | 137 |
139 #endif // STORAGE_BROWSER_BLOB_BLOB_DATA_HANDLE_H_ | 138 #endif // STORAGE_BROWSER_BLOB_BLOB_DATA_HANDLE_H_ |
OLD | NEW |