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

Side by Side Diff: content/ppapi_plugin/ppapi.sb

Issue 1186233004: Refactor OS X sandbox processing and audit sandbox files (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move struct to anon namespace and use static_cast<> Created 5 years, 5 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
« no previous file with comments | « content/content_tests.gypi ('k') | content/renderer/renderer.sb » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 ;; 1 ;;
2 ;; Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 ;; Copyright (c) 2012 The Chromium Authors. All rights reserved.
3 ;; Use of this source code is governed by a BSD-style license that can be 3 ;; Use of this source code is governed by a BSD-style license that can be
4 ;; found in the LICENSE file. 4 ;; found in the LICENSE file.
5 ;; 5 ;;
6 6
7 ; TODO(viettrungluu): Confirm that the exceptions below are needed. 7 ; TODO(viettrungluu): Confirm that the exceptions below are needed.
8 8
9 ; *** The contents of content/common/common.sb are implicitly included here. *** 9 ; *** The contents of content/common/common.sb are implicitly included here. ***
10 10
11 ; Needed for Fonts. 11 ; Needed for Fonts.
12 (allow file-read* (regex #"^/System/Library/Fonts($|/)")) ; 10.5.6 12 (allow file-read* (regex #"^/System/Library/Fonts($|/)"))
13 ; 10.6 for loading fonts in the renderer.
14 ; on 10.5 this is needed for the PDF plugin.
15 (allow file-read* (regex #"^/Library/Fonts($|/)")) 13 (allow file-read* (regex #"^/Library/Fonts($|/)"))
16 (allow mach-lookup (global-name "com.apple.FontObjectsServer")) ; 10.5.6 14 (allow mach-lookup (global-name "com.apple.FontObjectsServer"))
17 (allow mach-lookup (global-name "com.apple.FontServer")) ; 10.6 15 (allow mach-lookup (global-name "com.apple.FontServer"))
18 16
19 ; http://crbug.com/11269 17 ; http://crbug.com/11269
20 (allow file-read* (subpath "@USER_HOMEDIR_AS_LITERAL@/Library/Fonts")) ; 10.6 18 (allow file-read* (subpath (user-homedir-path "/Library/Fonts")))
OLDNEW
« no previous file with comments | « content/content_tests.gypi ('k') | content/renderer/renderer.sb » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698