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

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

Issue 191093002: Simplify the user agent code some more since after r255534 it's not affected by the site's URL. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 6 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 | Annotate | Revision Log
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 1443 matching lines...) Expand 10 before | Expand all | Expand 10 after
1454 const char kUnlimitedStorage[] = "unlimited-storage"; 1454 const char kUnlimitedStorage[] = "unlimited-storage";
1455 1455
1456 // Uses Spdy for the transport protocol instead of HTTP. This is a temporary 1456 // Uses Spdy for the transport protocol instead of HTTP. This is a temporary
1457 // testing flag. 1457 // testing flag.
1458 const char kUseSpdy[] = "use-spdy"; 1458 const char kUseSpdy[] = "use-spdy";
1459 1459
1460 // Disables use of the spelling web service and only provides suggestions. 1460 // Disables use of the spelling web service and only provides suggestions.
1461 // This will only work if asynchronous spell checking is not disabled. 1461 // This will only work if asynchronous spell checking is not disabled.
1462 const char kUseSpellingSuggestions[] = "use-spelling-suggestions"; 1462 const char kUseSpellingSuggestions[] = "use-spelling-suggestions";
1463 1463
1464 // A string used to override the default user agent with a custom one.
1465 const char kUserAgent[] = "user-agent";
1466
1464 // Specifies the user data directory, which is where the browser will look for 1467 // Specifies the user data directory, which is where the browser will look for
1465 // all of its state. 1468 // all of its state.
1466 const char kUserDataDir[] = "user-data-dir"; 1469 const char kUserDataDir[] = "user-data-dir";
1467 1470
1468 // Examines a .crx for validity and prints the result. 1471 // Examines a .crx for validity and prints the result.
1469 const char kValidateCrx[] = "validate-crx"; 1472 const char kValidateCrx[] = "validate-crx";
1470 1473
1471 // Uses experimental simple cache backend if possible. 1474 // Uses experimental simple cache backend if possible.
1472 const char kUseSimpleCacheBackend[] = "use-simple-cache-backend"; 1475 const char kUseSimpleCacheBackend[] = "use-simple-cache-backend";
1473 1476
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
1646 1649
1647 // ----------------------------------------------------------------------------- 1650 // -----------------------------------------------------------------------------
1648 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1651 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1649 // 1652 //
1650 // You were going to just dump your switches here, weren't you? Instead, please 1653 // You were going to just dump your switches here, weren't you? Instead, please
1651 // put them in alphabetical order above, or in order inside the appropriate 1654 // put them in alphabetical order above, or in order inside the appropriate
1652 // ifdef at the bottom. The order should match the header. 1655 // ifdef at the bottom. The order should match the header.
1653 // ----------------------------------------------------------------------------- 1656 // -----------------------------------------------------------------------------
1654 1657
1655 } // namespace switches 1658 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698