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

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: patchset 15 which works 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
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | components/autofill/content/browser/risk/fingerprint.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 9
10 namespace switches { 10 namespace switches {
(...skipping 1430 matching lines...) Expand 10 before | Expand all | Expand 10 after
1441 const char kUnlimitedStorage[] = "unlimited-storage"; 1441 const char kUnlimitedStorage[] = "unlimited-storage";
1442 1442
1443 // Uses Spdy for the transport protocol instead of HTTP. This is a temporary 1443 // Uses Spdy for the transport protocol instead of HTTP. This is a temporary
1444 // testing flag. 1444 // testing flag.
1445 const char kUseSpdy[] = "use-spdy"; 1445 const char kUseSpdy[] = "use-spdy";
1446 1446
1447 // Disables use of the spelling web service and only provides suggestions. 1447 // Disables use of the spelling web service and only provides suggestions.
1448 // This will only work if asynchronous spell checking is not disabled. 1448 // This will only work if asynchronous spell checking is not disabled.
1449 const char kUseSpellingSuggestions[] = "use-spelling-suggestions"; 1449 const char kUseSpellingSuggestions[] = "use-spelling-suggestions";
1450 1450
1451 // A string used to override the default user agent with a custom one.
1452 const char kUserAgent[] = "user-agent";
1453
1451 // Specifies the user data directory, which is where the browser will look for 1454 // Specifies the user data directory, which is where the browser will look for
1452 // all of its state. 1455 // all of its state.
1453 const char kUserDataDir[] = "user-data-dir"; 1456 const char kUserDataDir[] = "user-data-dir";
1454 1457
1455 // Examines a .crx for validity and prints the result. 1458 // Examines a .crx for validity and prints the result.
1456 const char kValidateCrx[] = "validate-crx"; 1459 const char kValidateCrx[] = "validate-crx";
1457 1460
1458 // Uses experimental simple cache backend if possible. 1461 // Uses experimental simple cache backend if possible.
1459 const char kUseSimpleCacheBackend[] = "use-simple-cache-backend"; 1462 const char kUseSimpleCacheBackend[] = "use-simple-cache-backend";
1460 1463
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
1633 1636
1634 // ----------------------------------------------------------------------------- 1637 // -----------------------------------------------------------------------------
1635 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1638 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1636 // 1639 //
1637 // You were going to just dump your switches here, weren't you? Instead, please 1640 // You were going to just dump your switches here, weren't you? Instead, please
1638 // put them in alphabetical order above, or in order inside the appropriate 1641 // put them in alphabetical order above, or in order inside the appropriate
1639 // ifdef at the bottom. The order should match the header. 1642 // ifdef at the bottom. The order should match the header.
1640 // ----------------------------------------------------------------------------- 1643 // -----------------------------------------------------------------------------
1641 1644
1642 } // namespace switches 1645 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | components/autofill/content/browser/risk/fingerprint.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698