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

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

Issue 14180010: Translate: browser test for Chrome Translate in an isolated world (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: factor out infobar check Created 7 years, 4 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 1380 matching lines...) Expand 10 before | Expand all | Expand 10 after
1391 // Tells the app to listen for and broadcast testing-related messages on IPC 1391 // Tells the app to listen for and broadcast testing-related messages on IPC
1392 // channel with the given ID. 1392 // channel with the given ID.
1393 const char kTestingChannelID[] = "testing-channel"; 1393 const char kTestingChannelID[] = "testing-channel";
1394 1394
1395 // Enables tracking the amount of non-idle time spent viewing pages. 1395 // Enables tracking the amount of non-idle time spent viewing pages.
1396 const char kTrackActiveVisitTime[] = "track-active-visit-time"; 1396 const char kTrackActiveVisitTime[] = "track-active-visit-time";
1397 1397
1398 // Overrides the default server used for Google Translate. 1398 // Overrides the default server used for Google Translate.
1399 const char kTranslateScriptURL[] = "translate-script-url"; 1399 const char kTranslateScriptURL[] = "translate-script-url";
1400 1400
1401 // Overrides security-origin with which Translate runs in an isolated world.
1402 const char kTranslateSecurityOrigin[] = "translate-security-origin";
1403
1401 // Disables same-origin check on HTTP resources pushed via a SPDY proxy. 1404 // Disables same-origin check on HTTP resources pushed via a SPDY proxy.
1402 // The value is the host:port of the trusted proxy. 1405 // The value is the host:port of the trusted proxy.
1403 const char kTrustedSpdyProxy[] = "trusted-spdy-proxy"; 1406 const char kTrustedSpdyProxy[] = "trusted-spdy-proxy";
1404 1407
1405 // Experimental. Shows a dialog asking the user to try chrome. This flag is to 1408 // Experimental. Shows a dialog asking the user to try chrome. This flag is to
1406 // be used only by the upgrade process. 1409 // be used only by the upgrade process.
1407 const char kTryChromeAgain[] = "try-chrome-again"; 1410 const char kTryChromeAgain[] = "try-chrome-again";
1408 1411
1409 // Uninstalls an extension with the specified extension id. 1412 // Uninstalls an extension with the specified extension id.
1410 const char kUninstallExtension[] = "uninstall-extension"; 1413 const char kUninstallExtension[] = "uninstall-extension";
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
1594 1597
1595 // ----------------------------------------------------------------------------- 1598 // -----------------------------------------------------------------------------
1596 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1599 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1597 // 1600 //
1598 // You were going to just dump your switches here, weren't you? Instead, please 1601 // You were going to just dump your switches here, weren't you? Instead, please
1599 // put them in alphabetical order above, or in order inside the appropriate 1602 // put them in alphabetical order above, or in order inside the appropriate
1600 // ifdef at the bottom. The order should match the header. 1603 // ifdef at the bottom. The order should match the header.
1601 // ----------------------------------------------------------------------------- 1604 // -----------------------------------------------------------------------------
1602 1605
1603 } // namespace switches 1606 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698