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

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

Issue 13032002: Add RequestOSFileHandle as a private PPAPI (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: addressed comments Created 7 years, 9 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
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 // Specifies command-separated list of extension ids or hosts to grant
14 // access to GetOSFileHandle private API.
15 const char kAllowGetOSFileHandleAPI[] = "allow-get-os-file-handle-api";
yzshen1 2013/03/27 20:47:58 optional: It seems good to have Nacl in the name:
hamaji 2013/03/28 00:17:29 Hmm actually, I intentionally removed NaCl from th
yzshen1 2013/03/28 20:59:49 Okay. :) On 2013/03/28 00:17:29, hamaji wrote:
16
13 // Allows debugging of sandboxed processes (see zygote_main_linux.cc). 17 // Allows debugging of sandboxed processes (see zygote_main_linux.cc).
14 const char kAllowSandboxDebugging[] = "allow-sandbox-debugging"; 18 const char kAllowSandboxDebugging[] = "allow-sandbox-debugging";
15 19
16 // Allow compositing on chrome:// pages. 20 // Allow compositing on chrome:// pages.
17 const char kAllowWebUICompositing[] = "allow-webui-compositing"; 21 const char kAllowWebUICompositing[] = "allow-webui-compositing";
18 22
19 // Enumerates and prints a child process' most dangerous handles when it 23 // Enumerates and prints a child process' most dangerous handles when it
20 // is terminated. 24 // is terminated.
21 const char kAuditHandles[] = "enable-handle-auditing"; 25 const char kAuditHandles[] = "enable-handle-auditing";
22 26
(...skipping 742 matching lines...) Expand 10 before | Expand all | Expand 10 after
765 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; 769 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding";
766 770
767 // Use a vsync signal from the browser to the renderer to schedule rendering. 771 // Use a vsync signal from the browser to the renderer to schedule rendering.
768 const char kEnableVsyncNotification[] = "enable-vsync-notification"; 772 const char kEnableVsyncNotification[] = "enable-vsync-notification";
769 773
770 // Disables history navigation in response to horizontal overscroll. 774 // Disables history navigation in response to horizontal overscroll.
771 const char kDisableOverscrollHistoryNavigation[] = 775 const char kDisableOverscrollHistoryNavigation[] =
772 "disable-overscroll-history-navigation"; 776 "disable-overscroll-history-navigation";
773 777
774 } // namespace switches 778 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698