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

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: for review 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 1364 matching lines...) Expand 10 before | Expand all | Expand 10 after
1375 // Tells the app to listen for and broadcast testing-related messages on IPC 1375 // Tells the app to listen for and broadcast testing-related messages on IPC
1376 // channel with the given ID. 1376 // channel with the given ID.
1377 const char kTestingChannelID[] = "testing-channel"; 1377 const char kTestingChannelID[] = "testing-channel";
1378 1378
1379 // Enables tracking the amount of non-idle time spent viewing pages. 1379 // Enables tracking the amount of non-idle time spent viewing pages.
1380 const char kTrackActiveVisitTime[] = "track-active-visit-time"; 1380 const char kTrackActiveVisitTime[] = "track-active-visit-time";
1381 1381
1382 // Overrides the default server used for Google Translate. 1382 // Overrides the default server used for Google Translate.
1383 const char kTranslateScriptURL[] = "translate-script-url"; 1383 const char kTranslateScriptURL[] = "translate-script-url";
1384 1384
1385 // Overrides security-origin with which Translate runs in an isolated world.
1386 const char kTranslateSecurityOrigin[] = "translate-security-origin";
1387
1385 // Disables same-origin check on HTTP resources pushed via a SPDY proxy. 1388 // Disables same-origin check on HTTP resources pushed via a SPDY proxy.
1386 // The value is the host:port of the trusted proxy. 1389 // The value is the host:port of the trusted proxy.
1387 const char kTrustedSpdyProxy[] = "trusted-spdy-proxy"; 1390 const char kTrustedSpdyProxy[] = "trusted-spdy-proxy";
1388 1391
1389 // Experimental. Shows a dialog asking the user to try chrome. This flag is to 1392 // Experimental. Shows a dialog asking the user to try chrome. This flag is to
1390 // be used only by the upgrade process. 1393 // be used only by the upgrade process.
1391 const char kTryChromeAgain[] = "try-chrome-again"; 1394 const char kTryChromeAgain[] = "try-chrome-again";
1392 1395
1393 // Uninstalls an extension with the specified extension id. 1396 // Uninstalls an extension with the specified extension id.
1394 const char kUninstallExtension[] = "uninstall-extension"; 1397 const char kUninstallExtension[] = "uninstall-extension";
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
1578 1581
1579 // ----------------------------------------------------------------------------- 1582 // -----------------------------------------------------------------------------
1580 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1583 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1581 // 1584 //
1582 // You were going to just dump your switches here, weren't you? Instead, please 1585 // You were going to just dump your switches here, weren't you? Instead, please
1583 // put them in alphabetical order above, or in order inside the appropriate 1586 // put them in alphabetical order above, or in order inside the appropriate
1584 // ifdef at the bottom. The order should match the header. 1587 // ifdef at the bottom. The order should match the header.
1585 // ----------------------------------------------------------------------------- 1588 // -----------------------------------------------------------------------------
1586 1589
1587 } // namespace switches 1590 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698