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