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

Side by Side Diff: content/public/common/content_switches.cc

Issue 11139006: Revert 161634 - [content shell] allow universal access from file URLs in layout tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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 | Annotate | Revision Log
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/shell/shell_main_delegate.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 "content/public/common/content_switches.h" 5 #include "content/public/common/content_switches.h"
6 6
7 namespace switches { 7 namespace switches {
8 8
9 // By default, file:// URIs cannot read other file:// URIs. This is an 9 // By default, file:// URIs cannot read other file:// URIs. This is an
10 // override for developers who need the old behavior for testing. 10 // override for developers who need the old behavior for testing.
11 const char kAllowFileAccessFromFiles[] = "allow-file-access-from-files"; 11 const char kAllowFileAccessFromFiles[] = "allow-file-access-from-files";
12 12
13 // Explicitely grant the ability to access every other SecurityOrigin to
14 // file URLs. This is a security havoc and should only be used for testing.
15 const char kAllowUniversalAccessFromFiles[] =
16 "allow-universal-access-from-files";
17
18 // Allows debugging of sandboxed processes (see zygote_main_linux.cc). 13 // Allows debugging of sandboxed processes (see zygote_main_linux.cc).
19 const char kAllowSandboxDebugging[] = "allow-sandbox-debugging"; 14 const char kAllowSandboxDebugging[] = "allow-sandbox-debugging";
20 15
21 // Allow compositing on chrome:// pages. 16 // Allow compositing on chrome:// pages.
22 const char kAllowWebUICompositing[] = "allow-webui-compositing"; 17 const char kAllowWebUICompositing[] = "allow-webui-compositing";
23 18
24 // Enumerates and prints a child process' most dangerous handles when it 19 // Enumerates and prints a child process' most dangerous handles when it
25 // is terminated. 20 // is terminated.
26 const char kAuditHandles[] = "enable-handle-auditing"; 21 const char kAuditHandles[] = "enable-handle-auditing";
27 22
(...skipping 714 matching lines...) Expand 10 before | Expand all | Expand 10 after
742 // Sets the width and height above which a composited layer will get tiled. 737 // Sets the width and height above which a composited layer will get tiled.
743 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; 738 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width";
744 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; 739 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height";
745 740
746 const char kEnableFixedPositionCreatesStackingContext[] 741 const char kEnableFixedPositionCreatesStackingContext[]
747 = "enable-fixed-position-creates-stacking-context"; 742 = "enable-fixed-position-creates-stacking-context";
748 const char kDisableFixedPositionCreatesStackingContext[] 743 const char kDisableFixedPositionCreatesStackingContext[]
749 = "disable-fixed-position-creates-stacking-context"; 744 = "disable-fixed-position-creates-stacking-context";
750 745
751 } // namespace switches 746 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/shell/shell_main_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698