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

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
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 13 matching lines...) Expand all
24 // Disables support for keyboard commands. 24 // Disables support for keyboard commands.
25 const char kDisableKeyboardCommands[] = "disable-keyboard-commands"; 25 const char kDisableKeyboardCommands[] = "disable-keyboard-commands";
26 26
27 // Enables the recording of metrics reports but disables reporting. In contrast 27 // Enables the recording of metrics reports but disables reporting. In contrast
28 // to kDisableMetrics, this executes all the code that a normal client would 28 // to kDisableMetrics, this executes all the code that a normal client would
29 // use for reporting, except the report is dropped rather than sent to the 29 // use for reporting, except the report is dropped rather than sent to the
30 // server. This is useful for finding issues in the metrics code during UI and 30 // server. This is useful for finding issues in the metrics code during UI and
31 // performance tests. 31 // performance tests.
32 const char kIOSMetricsRecordingOnly[] = "metrics-recording-only"; 32 const char kIOSMetricsRecordingOnly[] = "metrics-recording-only";
33 33
34 // Disable the snapshots lru cache.
35 const char kDisableLRUSnapshotCache[] = "disable-lru-snapshot-cache";
36
37 // Enables the snapshot lru cache.
38 const char kEnableLRUSnapshotCache[] = "enable-lru-snapshot-cache";
39
34 } // namespace switches 40 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698