Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(65)

Unified Diff: ios/chrome/browser/snapshots/snapshot_cache_internal.h

Issue 1725533004: Enable iPad Tab Switcher by default on iOS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comment. Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..794d86800e16d11724de536654670e73faf89829
--- /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_
« no previous file with comments | « ios/chrome/browser/snapshots/snapshot_cache.mm ('k') | ios/chrome/browser/snapshots/snapshot_cache_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698