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 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
287 "ppapi-flash-in-process", | 287 "ppapi-flash-in-process", |
288 IDS_FLAGS_PPAPI_FLASH_IN_PROCESS_NAME, | 288 IDS_FLAGS_PPAPI_FLASH_IN_PROCESS_NAME, |
289 IDS_FLAGS_PPAPI_FLASH_IN_PROCESS_DESCRIPTION, | 289 IDS_FLAGS_PPAPI_FLASH_IN_PROCESS_DESCRIPTION, |
290 kOsAll, | 290 kOsAll, |
291 SINGLE_VALUE_TYPE(switches::kPpapiFlashInProcess) | 291 SINGLE_VALUE_TYPE(switches::kPpapiFlashInProcess) |
292 }, | 292 }, |
293 { | 293 { |
294 "multi-profiles", | 294 "multi-profiles", |
295 IDS_FLAGS_MULTI_PROFILES_NAME, | 295 IDS_FLAGS_MULTI_PROFILES_NAME, |
296 IDS_FLAGS_MULTI_PROFILES_DESCRIPTION, | 296 IDS_FLAGS_MULTI_PROFILES_DESCRIPTION, |
297 kOsAll, | 297 kOsMac | kOsWin | kOsLinux, // This switch is not available in CrOS. |
298 SINGLE_VALUE_TYPE(switches::kMultiProfiles) | 298 SINGLE_VALUE_TYPE(switches::kMultiProfiles) |
299 }, | 299 }, |
300 { | 300 { |
301 "restrict-instant-to-search", | 301 "restrict-instant-to-search", |
302 IDS_FLAGS_RESTRICT_INSTANT_TO_SEARCH_NAME, | 302 IDS_FLAGS_RESTRICT_INSTANT_TO_SEARCH_NAME, |
303 IDS_FLAGS_RESTRICT_INSTANT_TO_SEARCH_DESCRIPTION, | 303 IDS_FLAGS_RESTRICT_INSTANT_TO_SEARCH_DESCRIPTION, |
304 kOsAll, | 304 kOsAll, |
305 SINGLE_VALUE_TYPE(switches::kRestrictInstantToSearch) | 305 SINGLE_VALUE_TYPE(switches::kRestrictInstantToSearch) |
306 }, | 306 }, |
307 { | 307 { |
(...skipping 495 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
803 } | 803 } |
804 | 804 |
805 const Experiment* GetExperiments(size_t* count) { | 805 const Experiment* GetExperiments(size_t* count) { |
806 *count = num_experiments; | 806 *count = num_experiments; |
807 return experiments; | 807 return experiments; |
808 } | 808 } |
809 | 809 |
810 } // namespace testing | 810 } // namespace testing |
811 | 811 |
812 } // namespace about_flags | 812 } // namespace about_flags |
OLD | NEW |