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

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

Issue 25531002: Move language detection to a component (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix compilation Created 7 years, 2 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 1425 matching lines...) Expand 10 before | Expand all | Expand 10 after
1436 // Tells the app to listen for and broadcast testing-related messages on IPC 1436 // Tells the app to listen for and broadcast testing-related messages on IPC
1437 // channel with the given ID. 1437 // channel with the given ID.
1438 const char kTestingChannelID[] = "testing-channel"; 1438 const char kTestingChannelID[] = "testing-channel";
1439 1439
1440 // Enables tracking the amount of non-idle time spent viewing pages. 1440 // Enables tracking the amount of non-idle time spent viewing pages.
1441 const char kTrackActiveVisitTime[] = "track-active-visit-time"; 1441 const char kTrackActiveVisitTime[] = "track-active-visit-time";
1442 1442
1443 // Overrides the default server used for Google Translate. 1443 // Overrides the default server used for Google Translate.
1444 const char kTranslateScriptURL[] = "translate-script-url"; 1444 const char kTranslateScriptURL[] = "translate-script-url";
1445 1445
1446 // Overrides security-origin with which Translate runs in an isolated world.
1447 const char kTranslateSecurityOrigin[] = "translate-security-origin";
1448
1449 // Disables same-origin check on HTTP resources pushed via a SPDY proxy. 1446 // Disables same-origin check on HTTP resources pushed via a SPDY proxy.
1450 // The value is the host:port of the trusted proxy. 1447 // The value is the host:port of the trusted proxy.
1451 const char kTrustedSpdyProxy[] = "trusted-spdy-proxy"; 1448 const char kTrustedSpdyProxy[] = "trusted-spdy-proxy";
1452 1449
1453 // Experimental. Shows a dialog asking the user to try chrome. This flag is to 1450 // Experimental. Shows a dialog asking the user to try chrome. This flag is to
1454 // be used only by the upgrade process. 1451 // be used only by the upgrade process.
1455 const char kTryChromeAgain[] = "try-chrome-again"; 1452 const char kTryChromeAgain[] = "try-chrome-again";
1456 1453
1457 // Uninstalls an extension with the specified extension id. 1454 // Uninstalls an extension with the specified extension id.
1458 const char kUninstallExtension[] = "uninstall-extension"; 1455 const char kUninstallExtension[] = "uninstall-extension";
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
1657 1654
1658 // ----------------------------------------------------------------------------- 1655 // -----------------------------------------------------------------------------
1659 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1656 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1660 // 1657 //
1661 // You were going to just dump your switches here, weren't you? Instead, please 1658 // You were going to just dump your switches here, weren't you? Instead, please
1662 // put them in alphabetical order above, or in order inside the appropriate 1659 // put them in alphabetical order above, or in order inside the appropriate
1663 // ifdef at the bottom. The order should match the header. 1660 // ifdef at the bottom. The order should match the header.
1664 // ----------------------------------------------------------------------------- 1661 // -----------------------------------------------------------------------------
1665 1662
1666 } // namespace switches 1663 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698