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

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

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

Powered by Google App Engine
This is Rietveld 408576698