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

Side by Side Diff: content/browser/renderer_host/pepper/pepper_security_helper.cc

Issue 2108053005: Pull ChildProcessSecurityPolicyImpl out to shared subfolder (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/browser/renderer_host/pepper/pepper_security_helper.h" 5 #include "content/browser/renderer_host/pepper/pepper_security_helper.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "content/browser/child_process_security_policy_impl.h" 8 #include "content/browser/shared/child_process_security_policy_helper.h"
9 #include "ppapi/c/ppb_file_io.h" 9 #include "ppapi/c/ppb_file_io.h"
10 10
11 namespace content { 11 namespace content {
12 12
13 namespace { 13 namespace {
14 14
15 template <typename CanRead, 15 template <typename CanRead,
16 typename CanWrite, 16 typename CanWrite,
17 typename CanCreate, 17 typename CanCreate,
18 typename CanCreateReadWrite, 18 typename CanCreateReadWrite,
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 &ChildProcessSecurityPolicyImpl::CanReadFileSystemFile, 82 &ChildProcessSecurityPolicyImpl::CanReadFileSystemFile,
83 &ChildProcessSecurityPolicyImpl::CanWriteFileSystemFile, 83 &ChildProcessSecurityPolicyImpl::CanWriteFileSystemFile,
84 &ChildProcessSecurityPolicyImpl::CanCreateFileSystemFile, 84 &ChildProcessSecurityPolicyImpl::CanCreateFileSystemFile,
85 &ChildProcessSecurityPolicyImpl::CanCreateReadWriteFileSystemFile, 85 &ChildProcessSecurityPolicyImpl::CanCreateReadWriteFileSystemFile,
86 pp_open_flags, 86 pp_open_flags,
87 child_id, 87 child_id,
88 url); 88 url);
89 } 89 }
90 90
91 } // namespace content 91 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698