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

Side by Side Diff: chrome/common/chrome_features.cc

Issue 2716333002: Implement important sites dialog for desktop. (Closed)
Patch Set: rebase Created 3 years, 8 months 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/common/chrome_features.h" 5 #include "chrome/common/chrome_features.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "chrome/common/chrome_switches.h" 8 #include "chrome/common/chrome_switches.h"
9 #include "extensions/features/features.h" 9 #include "extensions/features/features.h"
10 #include "ppapi/features/features.h" 10 #include "ppapi/features/features.h"
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 const base::Feature kGdiTextPrinting {"GdiTextPrinting", 147 const base::Feature kGdiTextPrinting {"GdiTextPrinting",
148 base::FEATURE_DISABLED_BY_DEFAULT}; 148 base::FEATURE_DISABLED_BY_DEFAULT};
149 #endif 149 #endif
150 150
151 #if defined (OS_CHROMEOS) 151 #if defined (OS_CHROMEOS)
152 // Enables or disables the Happiness Tracking System for the device. 152 // Enables or disables the Happiness Tracking System for the device.
153 const base::Feature kHappinessTrackingSystem { 153 const base::Feature kHappinessTrackingSystem {
154 "HappinessTrackingSystem", base::FEATURE_DISABLED_BY_DEFAULT}; 154 "HappinessTrackingSystem", base::FEATURE_DISABLED_BY_DEFAULT};
155 #endif 155 #endif
156 156
157 const base::Feature kImportantSitesInCbd{"ImportantSitesInCBD",
158 base::FEATURE_DISABLED_BY_DEFAULT};
159
157 // Controls whether the "improved recovery component" is used. The improved 160 // Controls whether the "improved recovery component" is used. The improved
158 // recovery component is a redesigned Chrome component intended to restore 161 // recovery component is a redesigned Chrome component intended to restore
159 // a broken Chrome updater in more scenarios than before. 162 // a broken Chrome updater in more scenarios than before.
160 const base::Feature kImprovedRecoveryComponent{ 163 const base::Feature kImprovedRecoveryComponent{
161 "ImprovedRecoveryComponent", base::FEATURE_DISABLED_BY_DEFAULT}; 164 "ImprovedRecoveryComponent", base::FEATURE_DISABLED_BY_DEFAULT};
162 165
163 #if defined(GOOGLE_CHROME_BUILD) && defined(OS_LINUX) && !defined(OS_CHROMEOS) 166 #if defined(GOOGLE_CHROME_BUILD) && defined(OS_LINUX) && !defined(OS_CHROMEOS)
164 // Enables showing the "This computer will no longer receive Google Chrome 167 // Enables showing the "This computer will no longer receive Google Chrome
165 // updates" infobar instead of the "will soon stop receiving" infobar on 168 // updates" infobar instead of the "will soon stop receiving" infobar on
166 // deprecated systems. 169 // deprecated systems.
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
332 return base::FeatureList::IsEnabled(features::kPrefService) || 335 return base::FeatureList::IsEnabled(features::kPrefService) ||
333 #if BUILDFLAG(ENABLE_PACKAGE_MASH_SERVICES) 336 #if BUILDFLAG(ENABLE_PACKAGE_MASH_SERVICES)
334 base::CommandLine::ForCurrentProcess()->GetSwitchValueASCII( 337 base::CommandLine::ForCurrentProcess()->GetSwitchValueASCII(
335 switches::kMusConfig) == switches::kMash; 338 switches::kMusConfig) == switches::kMash;
336 #else 339 #else
337 false; 340 false;
338 #endif 341 #endif
339 } 342 }
340 343
341 } // namespace features 344 } // namespace features
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698