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 WEBKIT_BROWSER_BLOB_BLOB_DATA_HANDLE_H_ | 5 #ifndef STORAGE_BROWSER_BLOB_BLOB_DATA_HANDLE_H_ |
6 #define WEBKIT_BROWSER_BLOB_BLOB_DATA_HANDLE_H_ | 6 #define STORAGE_BROWSER_BLOB_BLOB_DATA_HANDLE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
11 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
12 #include "base/supports_user_data.h" | 12 #include "base/supports_user_data.h" |
13 #include "webkit/browser/storage_browser_export.h" | 13 #include "storage/browser/storage_browser_export.h" |
14 | 14 |
15 namespace base { | 15 namespace base { |
16 class SequencedTaskRunner; | 16 class SequencedTaskRunner; |
17 } | 17 } |
18 | 18 |
19 namespace storage { | 19 namespace storage { |
20 | 20 |
21 class BlobData; | 21 class BlobData; |
22 class BlobStorageContext; | 22 class BlobStorageContext; |
23 | 23 |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 friend class BlobStorageContext; | 61 friend class BlobStorageContext; |
62 BlobDataHandle(BlobData* blob_data, BlobStorageContext* context, | 62 BlobDataHandle(BlobData* blob_data, BlobStorageContext* context, |
63 base::SequencedTaskRunner* task_runner); | 63 base::SequencedTaskRunner* task_runner); |
64 | 64 |
65 scoped_refptr<base::SequencedTaskRunner> io_task_runner_; | 65 scoped_refptr<base::SequencedTaskRunner> io_task_runner_; |
66 scoped_refptr<BlobDataHandleShared> shared_; | 66 scoped_refptr<BlobDataHandleShared> shared_; |
67 }; | 67 }; |
68 | 68 |
69 } // namespace storage | 69 } // namespace storage |
70 | 70 |
71 #endif // WEBKIT_BROWSER_BLOB_BLOB_DATA_HANDLE_H_ | 71 #endif // STORAGE_BROWSER_BLOB_BLOB_DATA_HANDLE_H_ |
OLD | NEW |