| 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_STORAGE_CONTEXT_H_ | 5 #ifndef WEBKIT_BROWSER_BLOB_BLOB_STORAGE_CONTEXT_H_ |
| 6 #define WEBKIT_BROWSER_BLOB_BLOB_STORAGE_CONTEXT_H_ | 6 #define WEBKIT_BROWSER_BLOB_BLOB_STORAGE_CONTEXT_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
| 12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
| 13 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
| 14 #include "webkit/browser/blob/blob_data_handle.h" | 14 #include "webkit/browser/blob/blob_data_handle.h" |
| 15 #include "webkit/browser/storage_browser_export.h" |
| 15 #include "webkit/common/blob/blob_data.h" | 16 #include "webkit/common/blob/blob_data.h" |
| 16 #include "webkit/common/storage_export.h" | |
| 17 | 17 |
| 18 class GURL; | 18 class GURL; |
| 19 | 19 |
| 20 namespace base { | 20 namespace base { |
| 21 class FilePath; | 21 class FilePath; |
| 22 class Time; | 22 class Time; |
| 23 } | 23 } |
| 24 | 24 |
| 25 namespace content { | 25 namespace content { |
| 26 class BlobStorageHost; | 26 class BlobStorageHost; |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 // we count only the items of TYPE_DATA which are held in memory and not | 109 // we count only the items of TYPE_DATA which are held in memory and not |
| 110 // items of TYPE_FILE. | 110 // items of TYPE_FILE. |
| 111 int64 memory_usage_; | 111 int64 memory_usage_; |
| 112 | 112 |
| 113 DISALLOW_COPY_AND_ASSIGN(BlobStorageContext); | 113 DISALLOW_COPY_AND_ASSIGN(BlobStorageContext); |
| 114 }; | 114 }; |
| 115 | 115 |
| 116 } // namespace storage | 116 } // namespace storage |
| 117 | 117 |
| 118 #endif // WEBKIT_BROWSER_BLOB_BLOB_STORAGE_CONTEXT_H_ | 118 #endif // WEBKIT_BROWSER_BLOB_BLOB_STORAGE_CONTEXT_H_ |
| OLD | NEW |