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

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

Issue 2716333002: Implement important sites dialog for desktop. (Closed)
Patch Set: rebase Created 3 years, 7 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 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 const base::Feature kGdiTextPrinting {"GdiTextPrinting", 154 const base::Feature kGdiTextPrinting {"GdiTextPrinting",
155 base::FEATURE_DISABLED_BY_DEFAULT}; 155 base::FEATURE_DISABLED_BY_DEFAULT};
156 #endif 156 #endif
157 157
158 #if defined (OS_CHROMEOS) 158 #if defined (OS_CHROMEOS)
159 // Enables or disables the Happiness Tracking System for the device. 159 // Enables or disables the Happiness Tracking System for the device.
160 const base::Feature kHappinessTrackingSystem { 160 const base::Feature kHappinessTrackingSystem {
161 "HappinessTrackingSystem", base::FEATURE_DISABLED_BY_DEFAULT}; 161 "HappinessTrackingSystem", base::FEATURE_DISABLED_BY_DEFAULT};
162 #endif 162 #endif
163 163
164 const base::Feature kImportantSitesInCbd{"ImportantSitesInCBD",
165 base::FEATURE_DISABLED_BY_DEFAULT};
166
164 // Controls whether the "improved recovery component" is used. The improved 167 // Controls whether the "improved recovery component" is used. The improved
165 // recovery component is a redesigned Chrome component intended to restore 168 // recovery component is a redesigned Chrome component intended to restore
166 // a broken Chrome updater in more scenarios than before. 169 // a broken Chrome updater in more scenarios than before.
167 const base::Feature kImprovedRecoveryComponent{ 170 const base::Feature kImprovedRecoveryComponent{
168 "ImprovedRecoveryComponent", base::FEATURE_DISABLED_BY_DEFAULT}; 171 "ImprovedRecoveryComponent", base::FEATURE_DISABLED_BY_DEFAULT};
169 172
170 #if defined(GOOGLE_CHROME_BUILD) && defined(OS_LINUX) && !defined(OS_CHROMEOS) 173 #if defined(GOOGLE_CHROME_BUILD) && defined(OS_LINUX) && !defined(OS_CHROMEOS)
171 // Enables showing the "This computer will no longer receive Google Chrome 174 // Enables showing the "This computer will no longer receive Google Chrome
172 // updates" infobar instead of the "will soon stop receiving" infobar on 175 // updates" infobar instead of the "will soon stop receiving" infobar on
173 // deprecated systems. 176 // deprecated systems.
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
362 return base::FeatureList::IsEnabled(features::kPrefService) || 365 return base::FeatureList::IsEnabled(features::kPrefService) ||
363 #if BUILDFLAG(ENABLE_PACKAGE_MASH_SERVICES) 366 #if BUILDFLAG(ENABLE_PACKAGE_MASH_SERVICES)
364 base::CommandLine::ForCurrentProcess()->GetSwitchValueASCII( 367 base::CommandLine::ForCurrentProcess()->GetSwitchValueASCII(
365 switches::kMusConfig) == switches::kMash; 368 switches::kMusConfig) == switches::kMash;
366 #else 369 #else
367 false; 370 false;
368 #endif 371 #endif
369 } 372 }
370 373
371 } // namespace features 374 } // namespace features
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698