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

Unified Diff: ios/chrome/browser/chrome_switches.cc

Issue 1410973008: Added an experiment for an LRU snapshot cache. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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
« no previous file with comments | « ios/chrome/browser/chrome_switches.h ('k') | ios/chrome/browser/experimental_flags.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/chrome_switches.cc
diff --git a/ios/chrome/browser/chrome_switches.cc b/ios/chrome/browser/chrome_switches.cc
index ae18f94faa23fc63c14a2bc7db9197effd956090..ebaed09bd227d6cbbbf13dae26edf28d9b674ff3 100644
--- a/ios/chrome/browser/chrome_switches.cc
+++ b/ios/chrome/browser/chrome_switches.cc
@@ -42,6 +42,9 @@ const char kDisableOfflineAutoReload[] = "disable-offline-auto-reload";
// Disables the tab switcher.
const char kDisableTabSwitcher[] = "disable-tab-switcher";
+// Disable the snapshots lru cache.
+const char kDisableLRUSnapshotCache[] = "disable-lru-snapshot-cache";
+
// Enables Contextual Search.
const char kEnableContextualSearch[] = "enable-contextual-search";
@@ -75,6 +78,9 @@ const char kEnableReaderModeToolbarIcon[] = "enable-reader-mode-toolbar-icon";
// Enables the tab switcher.
const char kEnableTabSwitcher[] = "enable-tab-switcher";
+// Enables the snapshot lru cache.
+const char kEnableLRUSnapshotCache[] = "enable-lru-snapshot-cache";
+
// Enables the recording of metrics reports but disables reporting. In contrast
// to kDisableMetrics, this executes all the code that a normal client would
// use for reporting, except the report is dropped rather than sent to the
« no previous file with comments | « ios/chrome/browser/chrome_switches.h ('k') | ios/chrome/browser/experimental_flags.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698