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

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: fix two memory bugs 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
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/renderer/translate/translate_helper.cc » ('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 1385 matching lines...) Expand 10 before | Expand all | Expand 10 after
1396 // Tells the app to listen for and broadcast testing-related messages on IPC 1396 // Tells the app to listen for and broadcast testing-related messages on IPC
1397 // channel with the given ID. 1397 // channel with the given ID.
1398 const char kTestingChannelID[] = "testing-channel"; 1398 const char kTestingChannelID[] = "testing-channel";
1399 1399
1400 // Enables tracking the amount of non-idle time spent viewing pages. 1400 // Enables tracking the amount of non-idle time spent viewing pages.
1401 const char kTrackActiveVisitTime[] = "track-active-visit-time"; 1401 const char kTrackActiveVisitTime[] = "track-active-visit-time";
1402 1402
1403 // Overrides the default server used for Google Translate. 1403 // Overrides the default server used for Google Translate.
1404 const char kTranslateScriptURL[] = "translate-script-url"; 1404 const char kTranslateScriptURL[] = "translate-script-url";
1405 1405
1406 // Overrides security-origin with which Translate runs in an isolated world.
1407 const char kTranslateSecurityOrigin[] = "translate-security-origin";
1408
1406 // Disables same-origin check on HTTP resources pushed via a SPDY proxy. 1409 // Disables same-origin check on HTTP resources pushed via a SPDY proxy.
1407 // The value is the host:port of the trusted proxy. 1410 // The value is the host:port of the trusted proxy.
1408 const char kTrustedSpdyProxy[] = "trusted-spdy-proxy"; 1411 const char kTrustedSpdyProxy[] = "trusted-spdy-proxy";
1409 1412
1410 // Experimental. Shows a dialog asking the user to try chrome. This flag is to 1413 // Experimental. Shows a dialog asking the user to try chrome. This flag is to
1411 // be used only by the upgrade process. 1414 // be used only by the upgrade process.
1412 const char kTryChromeAgain[] = "try-chrome-again"; 1415 const char kTryChromeAgain[] = "try-chrome-again";
1413 1416
1414 // Uninstalls an extension with the specified extension id. 1417 // Uninstalls an extension with the specified extension id.
1415 const char kUninstallExtension[] = "uninstall-extension"; 1418 const char kUninstallExtension[] = "uninstall-extension";
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
1603 1606
1604 // ----------------------------------------------------------------------------- 1607 // -----------------------------------------------------------------------------
1605 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1608 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1606 // 1609 //
1607 // You were going to just dump your switches here, weren't you? Instead, please 1610 // You were going to just dump your switches here, weren't you? Instead, please
1608 // put them in alphabetical order above, or in order inside the appropriate 1611 // put them in alphabetical order above, or in order inside the appropriate
1609 // ifdef at the bottom. The order should match the header. 1612 // ifdef at the bottom. The order should match the header.
1610 // ----------------------------------------------------------------------------- 1613 // -----------------------------------------------------------------------------
1611 1614
1612 } // namespace switches 1615 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/renderer/translate/translate_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698