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 1319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1330 SINGLE_VALUE_TYPE(switches::kPerformanceMonitorGathering) | 1330 SINGLE_VALUE_TYPE(switches::kPerformanceMonitorGathering) |
1331 }, | 1331 }, |
1332 { | 1332 { |
1333 "enable-experimental-form-filling", | 1333 "enable-experimental-form-filling", |
1334 IDS_FLAGS_ENABLE_EXPERIMENTAL_FORM_FILLING_NAME, | 1334 IDS_FLAGS_ENABLE_EXPERIMENTAL_FORM_FILLING_NAME, |
1335 IDS_FLAGS_ENABLE_EXPERIMENTAL_FORM_FILLING_DESCRIPTION, | 1335 IDS_FLAGS_ENABLE_EXPERIMENTAL_FORM_FILLING_DESCRIPTION, |
1336 kOsWin | kOsCrOS, | 1336 kOsWin | kOsCrOS, |
1337 SINGLE_VALUE_TYPE(autofill::switches::kEnableExperimentalFormFilling) | 1337 SINGLE_VALUE_TYPE(autofill::switches::kEnableExperimentalFormFilling) |
1338 }, | 1338 }, |
1339 { | 1339 { |
1340 "wallet-service-use-prod", | 1340 "wallet-service-use-sandbox", |
1341 IDS_FLAGS_ENABLE_WALLET_PRODUCTION_SERVICE_NAME, | 1341 IDS_FLAGS_WALLET_SERVICE_USE_SANDBOX_NAME, |
1342 IDS_FLAGS_ENABLE_WALLET_PRODUCTION_SERVICE_DESCRIPTION, | 1342 IDS_FLAGS_WALLET_SERVICE_USE_SANDBOX_DESCRIPTION, |
1343 kOsCrOS | kOsWin, | 1343 kOsCrOS | kOsWin | kOsMac, |
1344 SINGLE_VALUE_TYPE(autofill::switches::kWalletServiceUseProd) | 1344 ENABLE_DISABLE_VALUE_TYPE_AND_VALUE( |
| 1345 autofill::switches::kWalletServiceUseSandbox, "1", |
| 1346 autofill::switches::kWalletServiceUseSandbox, "0") |
1345 }, | 1347 }, |
1346 { | 1348 { |
1347 "enable-interactive-autocomplete", | 1349 "enable-interactive-autocomplete", |
1348 IDS_FLAGS_ENABLE_INTERACTIVE_AUTOCOMPLETE_NAME, | 1350 IDS_FLAGS_ENABLE_INTERACTIVE_AUTOCOMPLETE_NAME, |
1349 IDS_FLAGS_ENABLE_INTERACTIVE_AUTOCOMPLETE_DESCRIPTION, | 1351 IDS_FLAGS_ENABLE_INTERACTIVE_AUTOCOMPLETE_DESCRIPTION, |
1350 kOsWin | kOsCrOS | kOsAndroid | kOsMac, | 1352 kOsWin | kOsCrOS | kOsAndroid | kOsMac, |
1351 ENABLE_DISABLE_VALUE_TYPE( | 1353 ENABLE_DISABLE_VALUE_TYPE( |
1352 autofill::switches::kEnableInteractiveAutocomplete, | 1354 autofill::switches::kEnableInteractiveAutocomplete, |
1353 autofill::switches::kDisableInteractiveAutocomplete) | 1355 autofill::switches::kDisableInteractiveAutocomplete) |
1354 }, | 1356 }, |
(...skipping 918 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2273 } | 2275 } |
2274 | 2276 |
2275 const Experiment* GetExperiments(size_t* count) { | 2277 const Experiment* GetExperiments(size_t* count) { |
2276 *count = num_experiments; | 2278 *count = num_experiments; |
2277 return experiments; | 2279 return experiments; |
2278 } | 2280 } |
2279 | 2281 |
2280 } // namespace testing | 2282 } // namespace testing |
2281 | 2283 |
2282 } // namespace about_flags | 2284 } // namespace about_flags |
OLD | NEW |