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

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

Issue 11970002: Added Client-Hints. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Changed Client Hint names to match spec Created 7 years, 10 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 9
10 namespace switches { 10 namespace switches {
(...skipping 438 matching lines...) Expand 10 before | Expand all | Expand 10 after
449 const char kEnableAuthNegotiatePort[] = "enable-auth-negotiate-port"; 449 const char kEnableAuthNegotiatePort[] = "enable-auth-negotiate-port";
450 450
451 // Enables the pre- and auto-login features. When a user signs in to sync, the 451 // Enables the pre- and auto-login features. When a user signs in to sync, the
452 // browser's cookie jar is pre-filled with GAIA cookies. When the user visits a 452 // browser's cookie jar is pre-filled with GAIA cookies. When the user visits a
453 // GAIA login page, an info bar can help the user login. 453 // GAIA login page, an info bar can help the user login.
454 const char kEnableAutologin[] = "enable-autologin"; 454 const char kEnableAutologin[] = "enable-autologin";
455 455
456 // Enables the benchmarking extensions. 456 // Enables the benchmarking extensions.
457 const char kEnableBenchmarking[] = "enable-benchmarking"; 457 const char kEnableBenchmarking[] = "enable-benchmarking";
458 458
459 // Enables client hints, which adds hints about browser state to HTTP requests.
460 const char kEnableClientHints[] = "enable-client-hints";
461
459 // This applies only when the process type is "service". Enables the Cloud 462 // This applies only when the process type is "service". Enables the Cloud
460 // Print Proxy component within the service process. 463 // Print Proxy component within the service process.
461 const char kEnableCloudPrintProxy[] = "enable-cloud-print-proxy"; 464 const char kEnableCloudPrintProxy[] = "enable-cloud-print-proxy";
462 465
463 // Enables fetching the user's contacts from Google and showing them in the 466 // Enables fetching the user's contacts from Google and showing them in the
464 // Chrome OS apps list. 467 // Chrome OS apps list.
465 const char kEnableContacts[] = "enable-contacts"; 468 const char kEnableContacts[] = "enable-contacts";
466 469
467 // Enables web developers to create apps for Chrome without using crx packages. 470 // Enables web developers to create apps for Chrome without using crx packages.
468 const char kEnableCrxlessWebApps[] = "enable-crxless-web-apps"; 471 const char kEnableCrxlessWebApps[] = "enable-crxless-web-apps";
(...skipping 1186 matching lines...) Expand 10 before | Expand all | Expand 10 after
1655 1658
1656 // ----------------------------------------------------------------------------- 1659 // -----------------------------------------------------------------------------
1657 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1660 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1658 // 1661 //
1659 // You were going to just dump your switches here, weren't you? Instead, please 1662 // You were going to just dump your switches here, weren't you? Instead, please
1660 // put them in alphabetical order above, or in order inside the appropriate 1663 // put them in alphabetical order above, or in order inside the appropriate
1661 // ifdef at the bottom. The order should match the header. 1664 // ifdef at the bottom. The order should match the header.
1662 // ----------------------------------------------------------------------------- 1665 // -----------------------------------------------------------------------------
1663 1666
1664 } // namespace switches 1667 } // namespace switches
OLDNEW
« chrome/browser/net/client_hints.cc ('K') | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698