OLD | NEW |
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 #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 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
298 #endif | 298 #endif |
299 }, | 299 }, |
300 { | 300 { |
301 "multi-profiles", | 301 "multi-profiles", |
302 IDS_FLAGS_MULTI_PROFILES_NAME, | 302 IDS_FLAGS_MULTI_PROFILES_NAME, |
303 IDS_FLAGS_MULTI_PROFILES_DESCRIPTION, | 303 IDS_FLAGS_MULTI_PROFILES_DESCRIPTION, |
304 kOsAll, | 304 kOsAll, |
305 SINGLE_VALUE_TYPE(switches::kMultiProfiles) | 305 SINGLE_VALUE_TYPE(switches::kMultiProfiles) |
306 }, | 306 }, |
307 { | 307 { |
308 "enable-history-quick-provider", | |
309 IDS_FLAGS_ENABLE_HISTORY_QUICK_PROVIDER, | |
310 IDS_FLAGS_ENABLE_HISTORY_QUICK_PROVIDER_DESCRIPTION, | |
311 kOsAll, | |
312 SINGLE_VALUE_TYPE(switches::kEnableHistoryQuickProvider) | |
313 }, | |
314 { | |
315 "restrict-instant-to-search", | 308 "restrict-instant-to-search", |
316 IDS_FLAGS_RESTRICT_INSTANT_TO_SEARCH_NAME, | 309 IDS_FLAGS_RESTRICT_INSTANT_TO_SEARCH_NAME, |
317 IDS_FLAGS_RESTRICT_INSTANT_TO_SEARCH_DESCRIPTION, | 310 IDS_FLAGS_RESTRICT_INSTANT_TO_SEARCH_DESCRIPTION, |
318 kOsAll, | 311 kOsAll, |
319 SINGLE_VALUE_TYPE(switches::kRestrictInstantToSearch) | 312 SINGLE_VALUE_TYPE(switches::kRestrictInstantToSearch) |
320 }, | 313 }, |
321 }; | 314 }; |
322 | 315 |
323 const Experiment* experiments = kExperiments; | 316 const Experiment* experiments = kExperiments; |
324 size_t num_experiments = arraysize(kExperiments); | 317 size_t num_experiments = arraysize(kExperiments); |
(...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
740 } | 733 } |
741 | 734 |
742 const Experiment* GetExperiments(size_t* count) { | 735 const Experiment* GetExperiments(size_t* count) { |
743 *count = num_experiments; | 736 *count = num_experiments; |
744 return experiments; | 737 return experiments; |
745 } | 738 } |
746 | 739 |
747 } // namespace testing | 740 } // namespace testing |
748 | 741 |
749 } // namespace about_flags | 742 } // namespace about_flags |
OLD | NEW |