| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "chrome/browser/about_flags.h" | 5 #include "chrome/browser/about_flags.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <iterator> | 8 #include <iterator> |
| 9 #include <map> | 9 #include <map> |
| 10 #include <set> | 10 #include <set> |
| (...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 278 // . MULTI_VALUE: a list of choices, the first of which should correspond to a | 278 // . MULTI_VALUE: a list of choices, the first of which should correspond to a |
| 279 // deactivated state for this lab (i.e. no command line option). To specify | 279 // deactivated state for this lab (i.e. no command line option). To specify |
| 280 // this type of experiment use the macro MULTI_VALUE_TYPE supplying it the | 280 // this type of experiment use the macro MULTI_VALUE_TYPE supplying it the |
| 281 // array of choices. | 281 // array of choices. |
| 282 // See the documentation of Experiment for details on the fields. | 282 // See the documentation of Experiment for details on the fields. |
| 283 // | 283 // |
| 284 // When adding a new choice, add it to the end of the list. | 284 // When adding a new choice, add it to the end of the list. |
| 285 const Experiment kExperiments[] = { | 285 const Experiment kExperiments[] = { |
| 286 #if defined(OS_ANDROID) | 286 #if defined(OS_ANDROID) |
| 287 { | 287 { |
| 288 "enable-spdy-proxy", | 288 "enable-spdy-proxy-auth", |
| 289 IDS_FLAGS_ENABLE_SPDY_PROXY_NAME, | 289 IDS_FLAGS_ENABLE_SPDY_PROXY_AUTH_NAME, |
| 290 IDS_FLAGS_ENABLE_SPDY_PROXY_DESCRIPTION, | 290 IDS_FLAGS_ENABLE_SPDY_PROXY_AUTH_DESCRIPTION, |
| 291 kOsAndroid, | 291 kOsAndroid, |
| 292 SINGLE_VALUE_TYPE(switches::kEnableSpdyProxy) | 292 SINGLE_VALUE_TYPE(switches::kEnableSpdyProxyAuth) |
| 293 }, | 293 }, |
| 294 #endif | 294 #endif |
| 295 { | 295 { |
| 296 "expose-for-tabs", // FLAGS:RECORD_UMA | 296 "expose-for-tabs", // FLAGS:RECORD_UMA |
| 297 IDS_FLAGS_TABPOSE_NAME, | 297 IDS_FLAGS_TABPOSE_NAME, |
| 298 IDS_FLAGS_TABPOSE_DESCRIPTION, | 298 IDS_FLAGS_TABPOSE_DESCRIPTION, |
| 299 kOsMac, | 299 kOsMac, |
| 300 #if defined(OS_MACOSX) | 300 #if defined(OS_MACOSX) |
| 301 // The switch exists only on OS X. | 301 // The switch exists only on OS X. |
| 302 SINGLE_VALUE_TYPE(switches::kEnableExposeForTabs) | 302 SINGLE_VALUE_TYPE(switches::kEnableExposeForTabs) |
| (...skipping 1410 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1713 } | 1713 } |
| 1714 | 1714 |
| 1715 const Experiment* GetExperiments(size_t* count) { | 1715 const Experiment* GetExperiments(size_t* count) { |
| 1716 *count = num_experiments; | 1716 *count = num_experiments; |
| 1717 return experiments; | 1717 return experiments; |
| 1718 } | 1718 } |
| 1719 | 1719 |
| 1720 } // namespace testing | 1720 } // namespace testing |
| 1721 | 1721 |
| 1722 } // namespace about_flags | 1722 } // namespace about_flags |
| OLD | NEW |