| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 CONTENT_BROWSER_CACHE_STORAGE_CACHE_STORAGE_CACHE_OBSERVER_H_ | 5 #ifndef CONTENT_BROWSER_CACHE_STORAGE_CACHE_STORAGE_CACHE_OBSERVER_H_ |
| 6 #define CONTENT_BROWSER_CACHE_STORAGE_CACHE_STORAGE_CACHE_OBSERVER_H_ | 6 #define CONTENT_BROWSER_CACHE_STORAGE_CACHE_STORAGE_CACHE_OBSERVER_H_ |
| 7 | 7 |
| 8 #include "content/common/content_export.h" | 8 #include "content/common/content_export.h" |
| 9 | 9 |
| 10 namespace content { | 10 namespace content { |
| 11 | 11 |
| 12 class CacheStorageCache; | 12 class CacheStorageCache; |
| 13 | 13 |
| 14 class CONTENT_EXPORT CacheStorageCacheObserver { | 14 class CONTENT_EXPORT CacheStorageCacheObserver { |
| 15 public: | 15 public: |
| 16 // The cache size has been set. | 16 // The cache size has been set. |
| 17 virtual void CacheSizeUpdated(const CacheStorageCache* cache) = 0; | 17 virtual void CacheSizeUpdated(const CacheStorageCache* cache, |
| 18 int64_t size) = 0; |
| 18 }; | 19 }; |
| 19 | 20 |
| 20 } // namespace content | 21 } // namespace content |
| 21 | 22 |
| 22 #endif // CONTENT_BROWSER_CACHE_STORAGE_CACHE_STORAGE_CACHE_OBSERVER_H_ | 23 #endif // CONTENT_BROWSER_CACHE_STORAGE_CACHE_STORAGE_CACHE_OBSERVER_H_ |
| OLD | NEW |