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

Side by Side 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ios/chrome/browser/chrome_switches.h" 5 #include "ios/chrome/browser/chrome_switches.h"
6 6
7 namespace switches { 7 namespace switches {
8 8
9 // ----------------------------------------------------------------------------- 9 // -----------------------------------------------------------------------------
10 // When commenting your switch, please use the same voice as surrounding 10 // When commenting your switch, please use the same voice as surrounding
(...skipping 24 matching lines...) Expand all
35 35
36 // Disables NTP favicons. 36 // Disables NTP favicons.
37 const char kDisableNTPFavicons[] = "disable-ntp-favicons"; 37 const char kDisableNTPFavicons[] = "disable-ntp-favicons";
38 38
39 // Disable auto-reload of error pages if offline. 39 // Disable auto-reload of error pages if offline.
40 const char kDisableOfflineAutoReload[] = "disable-offline-auto-reload"; 40 const char kDisableOfflineAutoReload[] = "disable-offline-auto-reload";
41 41
42 // Disables the tab switcher. 42 // Disables the tab switcher.
43 const char kDisableTabSwitcher[] = "disable-tab-switcher"; 43 const char kDisableTabSwitcher[] = "disable-tab-switcher";
44 44
45 // Disable the snapshots lru cache.
46 const char kDisableLRUSnapshotCache[] = "disable-lru-snapshot-cache";
47
45 // Enables Contextual Search. 48 // Enables Contextual Search.
46 const char kEnableContextualSearch[] = "enable-contextual-search"; 49 const char kEnableContextualSearch[] = "enable-contextual-search";
47 50
48 // Enable the experimental Credential Manager JavaScript API. 51 // Enable the experimental Credential Manager JavaScript API.
49 const char kEnableCredentialManagerAPI[] = "enable-credential-manager-api"; 52 const char kEnableCredentialManagerAPI[] = "enable-credential-manager-api";
50 53
51 // Enables a workaround for fast inset updates for UIWebView.scrollView. 54 // Enables a workaround for fast inset updates for UIWebView.scrollView.
52 const char kEnableIOSFastWebScrollViewInsets[] = 55 const char kEnableIOSFastWebScrollViewInsets[] =
53 "enable-fast-web-scroll-view-insets"; 56 "enable-fast-web-scroll-view-insets";
54 57
(...skipping 13 matching lines...) Expand all
68 71
69 // Enable auto-reload of error pages if offline. 72 // Enable auto-reload of error pages if offline.
70 const char kEnableOfflineAutoReload[] = "enable-offline-auto-reload"; 73 const char kEnableOfflineAutoReload[] = "enable-offline-auto-reload";
71 74
72 // Enables context-sensitive reader mode button in the toolbar. 75 // Enables context-sensitive reader mode button in the toolbar.
73 const char kEnableReaderModeToolbarIcon[] = "enable-reader-mode-toolbar-icon"; 76 const char kEnableReaderModeToolbarIcon[] = "enable-reader-mode-toolbar-icon";
74 77
75 // Enables the tab switcher. 78 // Enables the tab switcher.
76 const char kEnableTabSwitcher[] = "enable-tab-switcher"; 79 const char kEnableTabSwitcher[] = "enable-tab-switcher";
77 80
81 // Enables the snapshot lru cache.
82 const char kEnableLRUSnapshotCache[] = "enable-lru-snapshot-cache";
83
78 // Enables the recording of metrics reports but disables reporting. In contrast 84 // Enables the recording of metrics reports but disables reporting. In contrast
79 // to kDisableMetrics, this executes all the code that a normal client would 85 // to kDisableMetrics, this executes all the code that a normal client would
80 // use for reporting, except the report is dropped rather than sent to the 86 // use for reporting, except the report is dropped rather than sent to the
81 // server. This is useful for finding issues in the metrics code during UI and 87 // server. This is useful for finding issues in the metrics code during UI and
82 // performance tests. 88 // performance tests.
83 const char kIOSMetricsRecordingOnly[] = "metrics-recording-only"; 89 const char kIOSMetricsRecordingOnly[] = "metrics-recording-only";
84 90
85 // A string used to override the default user agent with a custom one. 91 // A string used to override the default user agent with a custom one.
86 const char kUserAgent[] = "user-agent"; 92 const char kUserAgent[] = "user-agent";
87 93
88 } // namespace switches 94 } // namespace switches
OLDNEW
« 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