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

Side by Side Diff: net/disk_cache/experiments.h

Issue 14129004: Add support for the control group in the Simple Cache Experiment. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use experiments Created 7 years, 8 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
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #ifndef NET_DISK_CACHE_EXPERIMENTS_H_ 5 #ifndef NET_DISK_CACHE_EXPERIMENTS_H_
6 #define NET_DISK_CACHE_EXPERIMENTS_H_ 6 #define NET_DISK_CACHE_EXPERIMENTS_H_
7 7
8 8
9 namespace disk_cache { 9 namespace disk_cache {
10 10
11 // This lists the experiment groups that we care about. Only add new groups at 11 // This lists the experiment groups that we care about. Only add new groups at
12 // the end of the list, and always increase the number. 12 // the end of the list, and always increase the number.
13 enum { 13 enum {
14 NO_EXPERIMENT = 0, 14 NO_EXPERIMENT = 0,
15 EXPERIMENT_OLD_FILE1 = 3, 15 EXPERIMENT_OLD_FILE1 = 3,
16 EXPERIMENT_OLD_FILE2 = 4, 16 EXPERIMENT_OLD_FILE2 = 4,
17 EXPERIMENT_DELETED_LIST_OUT = 11, 17 EXPERIMENT_DELETED_LIST_OUT = 11,
18 EXPERIMENT_DELETED_LIST_CONTROL = 12, 18 EXPERIMENT_DELETED_LIST_CONTROL = 12,
19 EXPERIMENT_DELETED_LIST_IN = 13, 19 EXPERIMENT_DELETED_LIST_IN = 13,
20 EXPERIMENT_DELETED_LIST_OUT2 = 14 20 EXPERIMENT_DELETED_LIST_OUT2 = 14,
21 // There is no EXPERIMENT_SIMPLE_YES since this enum is used in the standard
22 // backend only.
23 EXPERIMENT_SIMPLE_CONTROL = 15,
21 }; 24 };
22 25
23 } // namespace disk_cache 26 } // namespace disk_cache
24 27
25 #endif // NET_DISK_CACHE_EXPERIMENTS_H_ 28 #endif // NET_DISK_CACHE_EXPERIMENTS_H_
OLDNEW
« net/disk_cache/backend_unittest.cc ('K') | « net/disk_cache/backend_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698