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

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

Issue 2878503005: Enable search geolocation consistency by default (Closed)
Patch Set: 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
« no previous file with comments | « no previous file | no next file » | 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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 105
106 #if defined(OS_WIN) 106 #if defined(OS_WIN)
107 const base::Feature kCleanupToolUI{"CleanupToolUI", 107 const base::Feature kCleanupToolUI{"CleanupToolUI",
108 base::FEATURE_DISABLED_BY_DEFAULT}; 108 base::FEATURE_DISABLED_BY_DEFAULT};
109 #endif 109 #endif
110 110
111 #if defined(OS_ANDROID) 111 #if defined(OS_ANDROID)
112 // Experiment to make Geolocation permissions in the omnibox and the default 112 // Experiment to make Geolocation permissions in the omnibox and the default
113 // search engine's search page consistent. 113 // search engine's search page consistent.
114 const base::Feature kConsistentOmniboxGeolocation{ 114 const base::Feature kConsistentOmniboxGeolocation{
115 "ConsistentOmniboxGeolocation", base::FEATURE_DISABLED_BY_DEFAULT}; 115 "ConsistentOmniboxGeolocation", base::FEATURE_ENABLED_BY_DEFAULT};
116 #endif 116 #endif
117 117
118 #if defined(OS_ANDROID) 118 #if defined(OS_ANDROID)
119 // Experiment to extract structured metadata for app indexing. 119 // Experiment to extract structured metadata for app indexing.
120 const base::Feature kCopylessPaste{"CopylessPaste", 120 const base::Feature kCopylessPaste{"CopylessPaste",
121 base::FEATURE_DISABLED_BY_DEFAULT}; 121 base::FEATURE_DISABLED_BY_DEFAULT};
122 #endif 122 #endif
123 123
124 #if defined(OS_WIN) 124 #if defined(OS_WIN)
125 // Enables or disables desktop ios promotion, which shows a promotion to the 125 // Enables or disables desktop ios promotion, which shows a promotion to the
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
357 return base::FeatureList::IsEnabled(features::kPrefService) || 357 return base::FeatureList::IsEnabled(features::kPrefService) ||
358 #if BUILDFLAG(ENABLE_PACKAGE_MASH_SERVICES) 358 #if BUILDFLAG(ENABLE_PACKAGE_MASH_SERVICES)
359 base::CommandLine::ForCurrentProcess()->GetSwitchValueASCII( 359 base::CommandLine::ForCurrentProcess()->GetSwitchValueASCII(
360 switches::kMusConfig) == switches::kMash; 360 switches::kMusConfig) == switches::kMash;
361 #else 361 #else
362 false; 362 false;
363 #endif 363 #endif
364 } 364 }
365 365
366 } // namespace features 366 } // namespace features
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698