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..c137431c8f10f24b1fda54a84fb6115cdaa595ed |
--- /dev/null |
+++ b/ios/chrome/browser/snapshots/snapshot_cache_internal.h |
@@ -0,0 +1,28 @@ |
+// 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_ |
+ |
+#import "ios/chrome/browser/snapshots/snapshot_cache_internal.h" |
+ |
+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_ |