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

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

Issue 2886433002: [Android] Adding content settings provider for notification channels (Closed)
Patch Set: Improve comment and fixup site engagement service test Created 3 years, 6 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 297 matching lines...) Expand 10 before | Expand all | Expand 10 after
308 308
309 #if BUILDFLAG(ENABLE_PLUGINS) 309 #if BUILDFLAG(ENABLE_PLUGINS)
310 // Disables Plugin Power Saver when Flash is in ALLOW mode. 310 // Disables Plugin Power Saver when Flash is in ALLOW mode.
311 const base::Feature kRunAllFlashInAllowMode{"RunAllFlashInAllowMode", 311 const base::Feature kRunAllFlashInAllowMode{"RunAllFlashInAllowMode",
312 base::FEATURE_DISABLED_BY_DEFAULT}; 312 base::FEATURE_DISABLED_BY_DEFAULT};
313 #endif 313 #endif
314 314
315 const base::Feature kSafeSearchUrlReporting{"SafeSearchUrlReporting", 315 const base::Feature kSafeSearchUrlReporting{"SafeSearchUrlReporting",
316 base::FEATURE_DISABLED_BY_DEFAULT}; 316 base::FEATURE_DISABLED_BY_DEFAULT};
317 317
318 #if defined(OS_ANDROID)
319 // Enables separate notification channels in Android O for notifications from
320 // different origins, instead of sending them all to a single 'Sites' channel.
321 const base::Feature kSiteNotificationChannels{
322 "SiteNotificationChannels", base::FEATURE_DISABLED_BY_DEFAULT};
323 #endif // defined (OS_ANDROID)
324
318 // A new user experience for transitioning into fullscreen and mouse pointer 325 // A new user experience for transitioning into fullscreen and mouse pointer
319 // lock states. 326 // lock states.
320 const base::Feature kSimplifiedFullscreenUI{"ViewsSimplifiedFullscreenUI", 327 const base::Feature kSimplifiedFullscreenUI{"ViewsSimplifiedFullscreenUI",
321 base::FEATURE_ENABLED_BY_DEFAULT}; 328 base::FEATURE_ENABLED_BY_DEFAULT};
322 329
323 // Enables or disables UI in MD Settings to view content settings grouped by 330 // Enables or disables UI in MD Settings to view content settings grouped by
324 // origin. 331 // origin.
325 const base::Feature kSiteDetails{"SiteDetails", 332 const base::Feature kSiteDetails{"SiteDetails",
326 base::FEATURE_DISABLED_BY_DEFAULT}; 333 base::FEATURE_DISABLED_BY_DEFAULT};
327 334
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
385 return base::FeatureList::IsEnabled(features::kPrefService) || 392 return base::FeatureList::IsEnabled(features::kPrefService) ||
386 #if BUILDFLAG(ENABLE_PACKAGE_MASH_SERVICES) 393 #if BUILDFLAG(ENABLE_PACKAGE_MASH_SERVICES)
387 base::CommandLine::ForCurrentProcess()->GetSwitchValueASCII( 394 base::CommandLine::ForCurrentProcess()->GetSwitchValueASCII(
388 switches::kMusConfig) == switches::kMash; 395 switches::kMusConfig) == switches::kMash;
389 #else 396 #else
390 false; 397 false;
391 #endif 398 #endif
392 } 399 }
393 400
394 } // namespace features 401 } // namespace features
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698