OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_CONTROLLER_H_ | 5 #ifndef WEBKIT_BLOB_BLOB_STORAGE_CONTROLLER_H_ |
6 #define WEBKIT_BLOB_BLOB_STORAGE_CONTROLLER_H_ | 6 #define WEBKIT_BLOB_BLOB_STORAGE_CONTROLLER_H_ |
7 | 7 |
| 8 error error error |
| 9 replaced by BlobStorageContext class |
| 10 #if 0 |
| 11 |
8 #include <map> | 12 #include <map> |
9 #include <string> | 13 #include <string> |
10 | 14 |
11 #include "base/hash_tables.h" | 15 #include "base/hash_tables.h" |
12 #include "base/memory/ref_counted.h" | 16 #include "base/memory/ref_counted.h" |
13 #include "base/process.h" | 17 #include "base/process.h" |
14 #include "webkit/blob/blob_data.h" | 18 #include "webkit/blob/blob_data.h" |
15 #include "webkit/storage/webkit_storage_export.h" | 19 #include "webkit/storage/webkit_storage_export.h" |
16 | 20 |
17 class GURL; | 21 class GURL; |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 | 76 |
73 // Multiple urls can refer to the same blob data, this map keeps track of | 77 // Multiple urls can refer to the same blob data, this map keeps track of |
74 // how many urls refer to a BlobData. | 78 // how many urls refer to a BlobData. |
75 BlobDataUsageMap blob_data_usage_count_; | 79 BlobDataUsageMap blob_data_usage_count_; |
76 | 80 |
77 DISALLOW_COPY_AND_ASSIGN(BlobStorageController); | 81 DISALLOW_COPY_AND_ASSIGN(BlobStorageController); |
78 }; | 82 }; |
79 | 83 |
80 } // namespace webkit_blob | 84 } // namespace webkit_blob |
81 | 85 |
| 86 #endif // 0 |
| 87 |
82 #endif // WEBKIT_BLOB_BLOB_STORAGE_CONTROLLER_H_ | 88 #endif // WEBKIT_BLOB_BLOB_STORAGE_CONTROLLER_H_ |
OLD | NEW |