Chromium Code Reviews| Index: ios/chrome/browser/snapshots/snapshot_cache_internal.h |
| diff --git a/ios/chrome/browser/snapshots/snapshot_cache_internal.h b/ios/chrome/browser/snapshots/snapshot_cache_internal.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..bf745a512582b687b50dfdb63be62840cd30b2a7 |
| --- /dev/null |
| +++ b/ios/chrome/browser/snapshots/snapshot_cache_internal.h |
| @@ -0,0 +1,26 @@ |
| +// Copyright 2016 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef IOS_CHROME_BROWSER_SNAPSHOTS_SNAPSHOT_CACHE_INTERNAL_H_ |
| +#define IOS_CHROME_BROWSER_SNAPSHOTS_SNAPSHOT_CACHE_INTERNAL_H_ |
| + |
|
sdefresne
2016/02/25 13:26:47
#import "ios/chrome/browser/snapshots/snapshot_cac
|
| +namespace base { |
| +class FilePath; |
| +} |
| + |
| +@class NSString; |
| + |
| +@interface SnapshotCache (Internal) |
| +// Returns filepath to the color snapshot of |sessionID|. |
| ++ (base::FilePath)imagePathForSessionID:(NSString*)sessionID; |
| +// Returns filepath to the greyscale snapshot of |sessionID|. |
| ++ (base::FilePath)greyImagePathForSessionID:(NSString*)sessionID; |
| +// Returns whether the snapshots are cached in a LRU cache. |
| +- (BOOL)usesLRUCache; |
| +// Returns whether the in-memory cache (as opposed to the on-disk cache) is |
| +// enabled. |
| +- (BOOL)inMemoryCacheIsEnabled; |
| +@end |
| + |
| +#endif // IOS_CHROME_BROWSER_SNAPSHOTS_SNAPSHOT_CACHE_INTERNAL_H_ |