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

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

Issue 2850003002: Add flag to override Effective Connection Type (Closed)
Patch Set: ps 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 (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 465 matching lines...) Expand 10 before | Expand all | Expand 10 after
476 const char kForceAndroidAppMode[] = "force-android-app-mode"; 476 const char kForceAndroidAppMode[] = "force-android-app-mode";
477 477
478 // Forces application mode. This hides certain system UI elements and forces 478 // Forces application mode. This hides certain system UI elements and forces
479 // the app to be installed if it hasn't been already. 479 // the app to be installed if it hasn't been already.
480 const char kForceAppMode[] = "force-app-mode"; 480 const char kForceAppMode[] = "force-app-mode";
481 481
482 // Forces Desktop to iOS promotion to appear in windows whenever an entrypoint 482 // Forces Desktop to iOS promotion to appear in windows whenever an entrypoint
483 // is triggered. 483 // is triggered.
484 const char kForceDesktopIOSPromotion[] = "force-desktop-ios-promotion"; 484 const char kForceDesktopIOSPromotion[] = "force-desktop-ios-promotion";
485 485
486 // Forces Network Quality Estimator (NQE) to return a specific effective
487 // connection type.
488 const char kForceEffectiveConnectionType[] = "force-effective-connection-type";
489
486 // Displays the First Run experience when the browser is started, regardless of 490 // Displays the First Run experience when the browser is started, regardless of
487 // whether or not it's actually the First Run (this overrides kNoFirstRun). 491 // whether or not it's actually the First Run (this overrides kNoFirstRun).
488 const char kForceFirstRun[] = "force-first-run"; 492 const char kForceFirstRun[] = "force-first-run";
489 493
490 // Forces Chrome to use localNTP instead of server (GWS) NTP. 494 // Forces Chrome to use localNTP instead of server (GWS) NTP.
491 const char kForceLocalNtp[] = "force-local-ntp"; 495 const char kForceLocalNtp[] = "force-local-ntp";
492 496
493 // Forces additional Chrome Variation Ids that will be sent in X-Client-Data 497 // Forces additional Chrome Variation Ids that will be sent in X-Client-Data
494 // header, specified as a 64-bit encoded list of numeric experiment ids. Ids 498 // header, specified as a 64-bit encoded list of numeric experiment ids. Ids
495 // prefixed with the character "t" will be treated as Trigger Variation Ids. 499 // prefixed with the character "t" will be treated as Trigger Variation Ids.
(...skipping 685 matching lines...) Expand 10 before | Expand all | Expand 10 after
1181 1185
1182 // ----------------------------------------------------------------------------- 1186 // -----------------------------------------------------------------------------
1183 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE. 1187 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE.
1184 // 1188 //
1185 // You were going to just dump your switches here, weren't you? Instead, please 1189 // You were going to just dump your switches here, weren't you? Instead, please
1186 // put them in alphabetical order above, or in order inside the appropriate 1190 // put them in alphabetical order above, or in order inside the appropriate
1187 // ifdef at the bottom. The order should match the header. 1191 // ifdef at the bottom. The order should match the header.
1188 // ----------------------------------------------------------------------------- 1192 // -----------------------------------------------------------------------------
1189 1193
1190 } // namespace switches 1194 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698