| 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 <iterator> | 7 #include <iterator> |
| 8 #include <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <utility> | 10 #include <utility> |
| (...skipping 2493 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2504 #if !defined(OS_ANDROID) && !defined(OS_IOS) | 2504 #if !defined(OS_ANDROID) && !defined(OS_IOS) |
| 2505 {"media-remoting", flag_descriptions::kMediaRemotingName, | 2505 {"media-remoting", flag_descriptions::kMediaRemotingName, |
| 2506 flag_descriptions::kMediaRemotingDescription, kOsDesktop, | 2506 flag_descriptions::kMediaRemotingDescription, kOsDesktop, |
| 2507 FEATURE_VALUE_TYPE(features::kMediaRemoting)}, | 2507 FEATURE_VALUE_TYPE(features::kMediaRemoting)}, |
| 2508 #endif | 2508 #endif |
| 2509 #if defined(OS_ANDROID) | 2509 #if defined(OS_ANDROID) |
| 2510 {"video-fullscreen-orientation-lock", | 2510 {"video-fullscreen-orientation-lock", |
| 2511 flag_descriptions::kVideoFullscreenOrientationLockName, | 2511 flag_descriptions::kVideoFullscreenOrientationLockName, |
| 2512 flag_descriptions::kVideoFullscreenOrientationLockDescription, kOsAndroid, | 2512 flag_descriptions::kVideoFullscreenOrientationLockDescription, kOsAndroid, |
| 2513 FEATURE_VALUE_TYPE(media::kVideoFullscreenOrientationLock)}, | 2513 FEATURE_VALUE_TYPE(media::kVideoFullscreenOrientationLock)}, |
| 2514 {"video-rotate-to-fullscreen", |
| 2515 flag_descriptions::kVideoRotateToFullscreenName, |
| 2516 flag_descriptions::kVideoRotateToFullscreenDescription, kOsAndroid, |
| 2517 FEATURE_VALUE_TYPE(media::kVideoRotateToFullscreen)}, |
| 2514 #endif | 2518 #endif |
| 2515 {"enable-nostate-prefetch", flag_descriptions::kNostatePrefetch, | 2519 {"enable-nostate-prefetch", flag_descriptions::kNostatePrefetch, |
| 2516 flag_descriptions::kNostatePrefetchDescription, kOsAll, | 2520 flag_descriptions::kNostatePrefetchDescription, kOsAll, |
| 2517 FEATURE_WITH_PARAMS_VALUE_TYPE(prerender::kNoStatePrefetchFeature, | 2521 FEATURE_WITH_PARAMS_VALUE_TYPE(prerender::kNoStatePrefetchFeature, |
| 2518 kNoStatePrefetchFeatureVariations, | 2522 kNoStatePrefetchFeatureVariations, |
| 2519 "NoStatePrefetchValidation")}, | 2523 "NoStatePrefetchValidation")}, |
| 2520 #if defined(OS_CHROMEOS) | 2524 #if defined(OS_CHROMEOS) |
| 2521 {"cros-comp-updates", flag_descriptions::kCrosCompUpdatesName, | 2525 {"cros-comp-updates", flag_descriptions::kCrosCompUpdatesName, |
| 2522 flag_descriptions::kCrosCompUpdatesDescription, kOsCrOS, | 2526 flag_descriptions::kCrosCompUpdatesDescription, kOsCrOS, |
| 2523 FEATURE_VALUE_TYPE(features::kCrosCompUpdates)}, | 2527 FEATURE_VALUE_TYPE(features::kCrosCompUpdates)}, |
| (...skipping 459 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2983 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; | 2987 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; |
| 2984 | 2988 |
| 2985 const FeatureEntry* GetFeatureEntries(size_t* count) { | 2989 const FeatureEntry* GetFeatureEntries(size_t* count) { |
| 2986 *count = arraysize(kFeatureEntries); | 2990 *count = arraysize(kFeatureEntries); |
| 2987 return kFeatureEntries; | 2991 return kFeatureEntries; |
| 2988 } | 2992 } |
| 2989 | 2993 |
| 2990 } // namespace testing | 2994 } // namespace testing |
| 2991 | 2995 |
| 2992 } // namespace about_flags | 2996 } // namespace about_flags |
| OLD | NEW |