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

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

Issue 442383002: Move storage-related files from webkit/ to new top-level directory storage/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 4 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
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/child_process_security_policy_impl.h"
9 #include "ppapi/c/ppb_file_io.h" 9 #include "ppapi/c/ppb_file_io.h"
10 10
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 &ChildProcessSecurityPolicyImpl::CanCreateReadWriteFile, 70 &ChildProcessSecurityPolicyImpl::CanCreateReadWriteFile,
71 &ChildProcessSecurityPolicyImpl::CanCreateReadWriteFile, 71 &ChildProcessSecurityPolicyImpl::CanCreateReadWriteFile,
72 &ChildProcessSecurityPolicyImpl::CanCreateReadWriteFile, 72 &ChildProcessSecurityPolicyImpl::CanCreateReadWriteFile,
73 pp_open_flags, 73 pp_open_flags,
74 child_id, 74 child_id,
75 file); 75 file);
76 } 76 }
77 77
78 bool CanOpenFileSystemURLWithPepperFlags(int pp_open_flags, 78 bool CanOpenFileSystemURLWithPepperFlags(int pp_open_flags,
79 int child_id, 79 int child_id,
80 const fileapi::FileSystemURL& url) { 80 const storage::FileSystemURL& url) {
81 return CanOpenFileWithPepperFlags( 81 return CanOpenFileWithPepperFlags(
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