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

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

Issue 2578783002: Add flags entry to enable Chrome OS component updates fature. (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 2093 matching lines...) Expand 10 before | Expand all | Expand 10 after
2104 {"enable-consistent-omnibox-geolocation", 2104 {"enable-consistent-omnibox-geolocation",
2105 IDS_FLAGS_ENABLE_CONSISTENT_OMNIBOX_GEOLOCATION_NAME, 2105 IDS_FLAGS_ENABLE_CONSISTENT_OMNIBOX_GEOLOCATION_NAME,
2106 IDS_FLAGS_ENABLE_CONSISTENT_OMNIBOX_GEOLOCATION_DESCRIPTION, kOsAndroid, 2106 IDS_FLAGS_ENABLE_CONSISTENT_OMNIBOX_GEOLOCATION_DESCRIPTION, kOsAndroid,
2107 FEATURE_VALUE_TYPE(features::kConsistentOmniboxGeolocation)}, 2107 FEATURE_VALUE_TYPE(features::kConsistentOmniboxGeolocation)},
2108 {"concurrent-background-loading-on-svelte", 2108 {"concurrent-background-loading-on-svelte",
2109 IDS_FLAGS_OFFLINE_PAGES_SVELTE_CONCURRENT_LOADING_NAME, 2109 IDS_FLAGS_OFFLINE_PAGES_SVELTE_CONCURRENT_LOADING_NAME,
2110 IDS_FLAGS_OFFLINE_PAGES_SVELTE_CONCURRENT_LOADING_DESCRIPTION, kOsAndroid, 2110 IDS_FLAGS_OFFLINE_PAGES_SVELTE_CONCURRENT_LOADING_DESCRIPTION, kOsAndroid,
2111 FEATURE_VALUE_TYPE( 2111 FEATURE_VALUE_TYPE(
2112 offline_pages::kOfflinePagesSvelteConcurrentLoadingFeature)}, 2112 offline_pages::kOfflinePagesSvelteConcurrentLoadingFeature)},
2113 #endif 2113 #endif
2114 #if defined(OS_CHROMEOS)
2115 {"cros-comp-updates", IDS_FLAGS_CROS_COMP_UPDATES_NAME,
2116 IDS_FLAGS_CROS_COMP_UPDATES_DESCRIPTION, kOsCrOS,
2117 FEATURE_VALUE_TYPE(features::kCrosCompUpdates)},
2118 #endif
2119
2114 // NOTE: Adding new command-line switches requires adding corresponding 2120 // NOTE: Adding new command-line switches requires adding corresponding
2115 // entries to enum "LoginCustomFlags" in histograms.xml. See note in 2121 // entries to enum "LoginCustomFlags" in histograms.xml. See note in
2116 // histograms.xml and don't forget to run AboutFlagsHistogramTest unit test. 2122 // histograms.xml and don't forget to run AboutFlagsHistogramTest unit test.
2117 {"cross-process-guests", IDS_FLAGS_CROSS_PROCESS_GUEST_VIEW_ISOLATION_NAME, 2123 {"cross-process-guests", IDS_FLAGS_CROSS_PROCESS_GUEST_VIEW_ISOLATION_NAME,
2118 IDS_FLAGS_CROSS_PROCESS_GUEST_VIEW_ISOLATION_DESCRIPTION, kOsDesktop, 2124 IDS_FLAGS_CROSS_PROCESS_GUEST_VIEW_ISOLATION_DESCRIPTION, kOsDesktop,
2119 FEATURE_VALUE_TYPE(features::kGuestViewCrossProcessFrames)}, 2125 FEATURE_VALUE_TYPE(features::kGuestViewCrossProcessFrames)},
2120 }; 2126 };
2121 2127
2122 class FlagsStateSingleton { 2128 class FlagsStateSingleton {
2123 public: 2129 public:
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
2315 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2321 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2316 2322
2317 const FeatureEntry* GetFeatureEntries(size_t* count) { 2323 const FeatureEntry* GetFeatureEntries(size_t* count) {
2318 *count = arraysize(kFeatureEntries); 2324 *count = arraysize(kFeatureEntries);
2319 return kFeatureEntries; 2325 return kFeatureEntries;
2320 } 2326 }
2321 2327
2322 } // namespace testing 2328 } // namespace testing
2323 2329
2324 } // namespace about_flags 2330 } // 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