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

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

Issue 5268006: Changing the security model for "chrome" URLs... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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/render_thread.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 809 matching lines...) Expand 10 before | Expand all | Expand 10 after
820 // Causes the process to run as a NativeClient broker 820 // Causes the process to run as a NativeClient broker
821 // (used for launching NaCl loader processes on 64-bit Windows). 821 // (used for launching NaCl loader processes on 64-bit Windows).
822 const char kNaClBrokerProcess[] = "nacl-broker"; 822 const char kNaClBrokerProcess[] = "nacl-broker";
823 823
824 // Causes the process to run as a NativeClient loader. 824 // Causes the process to run as a NativeClient loader.
825 const char kNaClLoaderProcess[] = "nacl-loader"; 825 const char kNaClLoaderProcess[] = "nacl-loader";
826 826
827 // Causes the Native Client process to display a dialog on launch. 827 // Causes the Native Client process to display a dialog on launch.
828 const char kNaClStartupDialog[] = "nacl-startup-dialog"; 828 const char kNaClStartupDialog[] = "nacl-startup-dialog";
829 829
830 // Enables the new security model for "chrome" URLs.
831 const char kNewChromeUISecurityModel[] = "new-chrome-ui-security-model";
832
830 // Disables the default browser check. Useful for UI/browser tests where we 833 // Disables the default browser check. Useful for UI/browser tests where we
831 // want to avoid having the default browser info-bar displayed. 834 // want to avoid having the default browser info-bar displayed.
832 const char kNoDefaultBrowserCheck[] = "no-default-browser-check"; 835 const char kNoDefaultBrowserCheck[] = "no-default-browser-check";
833 836
834 // Don't record/playback events when using record & playback. 837 // Don't record/playback events when using record & playback.
835 const char kNoEvents[] = "no-events"; 838 const char kNoEvents[] = "no-events";
836 839
837 // Bypass the First Run experience when the browser is started, regardless of 840 // Bypass the First Run experience when the browser is started, regardless of
838 // Disables all experiments set on about:flags. Does not disable about:flags 841 // Disables all experiments set on about:flags. Does not disable about:flags
839 // itself. Useful if an experiment makes chrome crash at startup: One can start 842 // itself. Useful if an experiment makes chrome crash at startup: One can start
(...skipping 534 matching lines...) Expand 10 before | Expand all | Expand 10 after
1374 1377
1375 // ----------------------------------------------------------------------------- 1378 // -----------------------------------------------------------------------------
1376 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1379 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1377 // 1380 //
1378 // You were going to just dump your switches here, weren't you? Instead, 1381 // You were going to just dump your switches here, weren't you? Instead,
1379 // please put them in alphabetical order above, or in order inside the 1382 // please put them in alphabetical order above, or in order inside the
1380 // appropriate ifdef at the bottom. The order should match the header. 1383 // appropriate ifdef at the bottom. The order should match the header.
1381 // ----------------------------------------------------------------------------- 1384 // -----------------------------------------------------------------------------
1382 1385
1383 } // namespace switches 1386 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/renderer/render_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698