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

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

Issue 2706363002: Add Finch flag for Copyless Paste (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
« no previous file with comments | « chrome/common/chrome_features.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 base::FEATURE_DISABLED_BY_DEFAULT}; 106 base::FEATURE_DISABLED_BY_DEFAULT};
107 #endif 107 #endif
108 108
109 #if defined(OS_ANDROID) 109 #if defined(OS_ANDROID)
110 // Experiment to make Geolocation permissions in the omnibox and the default 110 // Experiment to make Geolocation permissions in the omnibox and the default
111 // search engine's search page consistent. 111 // search engine's search page consistent.
112 const base::Feature kConsistentOmniboxGeolocation{ 112 const base::Feature kConsistentOmniboxGeolocation{
113 "ConsistentOmniboxGeolocation", base::FEATURE_DISABLED_BY_DEFAULT}; 113 "ConsistentOmniboxGeolocation", base::FEATURE_DISABLED_BY_DEFAULT};
114 #endif 114 #endif
115 115
116 #if defined(OS_ANDROID)
117 // Experiment to extract structured metadata for app indexing.
118 const base::Feature kCopylessPaste{"CopylessPaste",
119 base::FEATURE_DISABLED_BY_DEFAULT};
120 #endif
121
116 #if defined(OS_WIN) 122 #if defined(OS_WIN)
117 // Enables or disables desktop ios promotion, which shows a promotion to the 123 // Enables or disables desktop ios promotion, which shows a promotion to the
118 // user promoting Chrome for iOS. 124 // user promoting Chrome for iOS.
119 const base::Feature kDesktopIOSPromotion{"DesktopIOSPromotion", 125 const base::Feature kDesktopIOSPromotion{"DesktopIOSPromotion",
120 base::FEATURE_DISABLED_BY_DEFAULT}; 126 base::FEATURE_DISABLED_BY_DEFAULT};
121 #endif 127 #endif
122 128
123 // Experiment to display a toggle allowing users to opt-out of persisting a 129 // Experiment to display a toggle allowing users to opt-out of persisting a
124 // Grant or Deny decision in a permission prompt. 130 // Grant or Deny decision in a permission prompt.
125 const base::Feature kDisplayPersistenceToggleInPermissionPrompts{ 131 const base::Feature kDisplayPersistenceToggleInPermissionPrompts{
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
326 return base::FeatureList::IsEnabled(features::kPrefService) || 332 return base::FeatureList::IsEnabled(features::kPrefService) ||
327 #if BUILDFLAG(ENABLE_PACKAGE_MASH_SERVICES) 333 #if BUILDFLAG(ENABLE_PACKAGE_MASH_SERVICES)
328 base::CommandLine::ForCurrentProcess()->GetSwitchValueASCII( 334 base::CommandLine::ForCurrentProcess()->GetSwitchValueASCII(
329 switches::kMusConfig) == switches::kMash; 335 switches::kMusConfig) == switches::kMash;
330 #else 336 #else
331 false; 337 false;
332 #endif 338 #endif
333 } 339 }
334 340
335 } // namespace features 341 } // namespace features
OLDNEW
« no previous file with comments | « chrome/common/chrome_features.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698