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_BLOB_BLOB_STORAGE_HOST_H_ | 5 #ifndef WEBKIT_BROWSER_BLOB_BLOB_STORAGE_HOST_H_ |
6 #define WEBKIT_BLOB_BLOB_STORAGE_HOST_H_ | 6 #define WEBKIT_BROWSER_BLOB_BLOB_STORAGE_HOST_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
11 | 11 |
12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
13 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
14 #include "webkit/blob/blob_data.h" | 14 #include "webkit/common/blob/blob_data.h" |
15 #include "webkit/storage/webkit_storage_export.h" | 15 #include "webkit/storage/webkit_storage_export.h" |
16 | 16 |
17 class GURL; | 17 class GURL; |
18 | 18 |
19 namespace webkit_blob { | 19 namespace webkit_blob { |
20 | 20 |
21 class BlobDataHandle; | 21 class BlobDataHandle; |
22 class BlobStorageHost; | 22 class BlobStorageHost; |
23 class BlobStorageContext; | 23 class BlobStorageContext; |
24 | 24 |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 BlobReferenceMap blobs_inuse_map_; | 59 BlobReferenceMap blobs_inuse_map_; |
60 | 60 |
61 // The set of public blob urls coined by this consumer. | 61 // The set of public blob urls coined by this consumer. |
62 std::set<GURL> public_blob_urls_; | 62 std::set<GURL> public_blob_urls_; |
63 | 63 |
64 base::WeakPtr<BlobStorageContext> context_; | 64 base::WeakPtr<BlobStorageContext> context_; |
65 }; | 65 }; |
66 | 66 |
67 } // namespace webkit_blob | 67 } // namespace webkit_blob |
68 | 68 |
69 #endif // WEBKIT_BLOB_BLOB_STORAGE_HOST_H_ | 69 #endif // WEBKIT_BROWSER_BLOB_BLOB_STORAGE_HOST_H_ |
OLD | NEW |