Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1174)

Side by Side Diff: chrome/browser/about_flags.cc

Issue 2567773002: Revert "Add flags entries to test chrome OS component updates in release mode." (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 2113 matching lines...) Expand 10 before | Expand all | Expand 10 after
2124 {"media-remoting-encrypted", IDS_FLAGS_MEDIA_REMOTING_ENCRYPTED_NAME, 2124 {"media-remoting-encrypted", IDS_FLAGS_MEDIA_REMOTING_ENCRYPTED_NAME,
2125 IDS_FLAGS_MEDIA_REMOTING_ENCRYPTED_DESCRIPTION, kOsDesktop, 2125 IDS_FLAGS_MEDIA_REMOTING_ENCRYPTED_DESCRIPTION, kOsDesktop,
2126 FEATURE_VALUE_TYPE(features::kMediaRemotingEncrypted)}, 2126 FEATURE_VALUE_TYPE(features::kMediaRemotingEncrypted)},
2127 #endif 2127 #endif
2128 #if defined(OS_ANDROID) 2128 #if defined(OS_ANDROID)
2129 {"video-fullscreen-orientation-lock", 2129 {"video-fullscreen-orientation-lock",
2130 IDS_FLAGS_VIDEO_FULLSCREEN_ORIENTATION_LOCK_NAME, 2130 IDS_FLAGS_VIDEO_FULLSCREEN_ORIENTATION_LOCK_NAME,
2131 IDS_FLAGS_VIDEO_FULLSCREEN_ORIENTATION_LOCK_DESCRIPTION, kOsAndroid, 2131 IDS_FLAGS_VIDEO_FULLSCREEN_ORIENTATION_LOCK_DESCRIPTION, kOsAndroid,
2132 FEATURE_VALUE_TYPE(media::kVideoFullscreenOrientationLock)}, 2132 FEATURE_VALUE_TYPE(media::kVideoFullscreenOrientationLock)},
2133 #endif 2133 #endif
2134 #if defined(OS_CHROMEOS)
2135 {"cros-comp-updates", IDS_FLAGS_CROS_COMP_UPDATES_NAME,
2136 IDS_FLAGS_CROS_COMP_UPDATES_DESCRIPTION, kOsCrOS,
2137 FEATURE_VALUE_TYPE(features::kCrosCompUpdates)},
2138 {"component-flash-only", IDS_FLAGS_COMPONENT_FLASH_ONLY_NAME,
2139 IDS_FLAGS_COMPONENT_FLASH_ONLY_DESCRIPTION, kOsCrOS,
2140 FEATURE_VALUE_TYPE(features::kComponentFlashOnly)},
2141 #endif
2142 {"enable-nostate-prefetch", IDS_FLAGS_NOSTATE_PREFETCH, 2134 {"enable-nostate-prefetch", IDS_FLAGS_NOSTATE_PREFETCH,
2143 IDS_FLAGS_NOSTATE_PREFETCH_DESCRIPTION, kOsAll, 2135 IDS_FLAGS_NOSTATE_PREFETCH_DESCRIPTION, kOsAll,
2144 FEATURE_WITH_VARIATIONS_VALUE_TYPE(prerender::kNoStatePrefetchFeature, 2136 FEATURE_WITH_VARIATIONS_VALUE_TYPE(prerender::kNoStatePrefetchFeature,
2145 kNoStatePrefetchFeatureVariations, 2137 kNoStatePrefetchFeatureVariations,
2146 "NoStatePrefetchValidation")}, 2138 "NoStatePrefetchValidation")},
2147 2139
2148 // NOTE: Adding new command-line switches requires adding corresponding 2140 // NOTE: Adding new command-line switches requires adding corresponding
2149 // entries to enum "LoginCustomFlags" in histograms.xml. See note in 2141 // entries to enum "LoginCustomFlags" in histograms.xml. See note in
2150 // histograms.xml and don't forget to run AboutFlagsHistogramTest unit test. 2142 // histograms.xml and don't forget to run AboutFlagsHistogramTest unit test.
2151 }; 2143 };
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
2346 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2338 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2347 2339
2348 const FeatureEntry* GetFeatureEntries(size_t* count) { 2340 const FeatureEntry* GetFeatureEntries(size_t* count) {
2349 *count = arraysize(kFeatureEntries); 2341 *count = arraysize(kFeatureEntries);
2350 return kFeatureEntries; 2342 return kFeatureEntries;
2351 } 2343 }
2352 2344
2353 } // namespace testing 2345 } // namespace testing
2354 2346
2355 } // namespace about_flags 2347 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/component_updater/pepper_flash_component_installer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698