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

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

Issue 2718313003: Add switch to disable showing the search geolocation disclosure UI. (Closed)
Patch Set: Created 3 years, 9 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_switches.h ('k') | 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_switches.h" 5 #include "chrome/common/chrome_switches.h"
6 6
7 #include "base/base_switches.h" 7 #include "base/base_switches.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "ppapi/features/features.h" 10 #include "ppapi/features/features.h"
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 // a post we prompt to make sure they want to. This switch may be used to 257 // a post we prompt to make sure they want to. This switch may be used to
258 // disable that check. This switch is used during automated testing. 258 // disable that check. This switch is used during automated testing.
259 const char kDisablePromptOnRepost[] = "disable-prompt-on-repost"; 259 const char kDisablePromptOnRepost[] = "disable-prompt-on-repost";
260 260
261 // Enable background mode for the Push API. 261 // Enable background mode for the Push API.
262 const char kDisablePushApiBackgroundMode[] = "disable-push-api-background-mode"; 262 const char kDisablePushApiBackgroundMode[] = "disable-push-api-background-mode";
263 263
264 // Disables the QUIC protocol. 264 // Disables the QUIC protocol.
265 const char kDisableQuic[] = "disable-quic"; 265 const char kDisableQuic[] = "disable-quic";
266 266
267 // Disables showing the search geolocation disclosure UI. Used for perf testing.
268 const char kDisableSearchGeolocationDisclosure[] =
269 "disable-search-geolocation-disclosure";
270
267 // Disable settings in a separate browser window per profile 271 // Disable settings in a separate browser window per profile
268 // (see SettingsWindowEnabled() below). 272 // (see SettingsWindowEnabled() below).
269 const char kDisableSettingsWindow[] = "disable-settings-window"; 273 const char kDisableSettingsWindow[] = "disable-settings-window";
270 274
271 // Disables Web Notification custom layouts. 275 // Disables Web Notification custom layouts.
272 const char kDisableWebNotificationCustomLayouts[] = 276 const char kDisableWebNotificationCustomLayouts[] =
273 "disable-web-notification-custom-layouts"; 277 "disable-web-notification-custom-layouts";
274 278
275 // Some tests seem to require the application to close when the last 279 // Some tests seem to require the application to close when the last
276 // browser window is closed. Thus, we need a switch to force this behavior 280 // browser window is closed. Thus, we need a switch to force this behavior
(...skipping 896 matching lines...) Expand 10 before | Expand all | Expand 10 after
1173 1177
1174 // ----------------------------------------------------------------------------- 1178 // -----------------------------------------------------------------------------
1175 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE. 1179 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE.
1176 // 1180 //
1177 // You were going to just dump your switches here, weren't you? Instead, please 1181 // You were going to just dump your switches here, weren't you? Instead, please
1178 // put them in alphabetical order above, or in order inside the appropriate 1182 // put them in alphabetical order above, or in order inside the appropriate
1179 // ifdef at the bottom. The order should match the header. 1183 // ifdef at the bottom. The order should match the header.
1180 // ----------------------------------------------------------------------------- 1184 // -----------------------------------------------------------------------------
1181 1185
1182 } // namespace switches 1186 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698