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

Side by Side 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 comments rebased. Created 4 years, 9 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 unified diff | Download patch
OLDNEW
(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 IOS_CHROME_BROWSER_SNAPSHOTS_SNAPSHOT_CACHE_INTERNAL_H_
6 #define IOS_CHROME_BROWSER_SNAPSHOTS_SNAPSHOT_CACHE_INTERNAL_H_
7
sdefresne 2016/02/25 13:26:47 #import "ios/chrome/browser/snapshots/snapshot_cac
8 namespace base {
9 class FilePath;
10 }
11
12 @class NSString;
13
14 @interface SnapshotCache (Internal)
15 // Returns filepath to the color snapshot of |sessionID|.
16 + (base::FilePath)imagePathForSessionID:(NSString*)sessionID;
17 // Returns filepath to the greyscale snapshot of |sessionID|.
18 + (base::FilePath)greyImagePathForSessionID:(NSString*)sessionID;
19 // Returns whether the snapshots are cached in a LRU cache.
20 - (BOOL)usesLRUCache;
21 // Returns whether the in-memory cache (as opposed to the on-disk cache) is
22 // enabled.
23 - (BOOL)inMemoryCacheIsEnabled;
24 @end
25
26 #endif // IOS_CHROME_BROWSER_SNAPSHOTS_SNAPSHOT_CACHE_INTERNAL_H_
OLDNEW
« 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