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

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

Issue 19723010: Pepper Message Filters: Port to use explicit permission grants in ChildProcessSecurityPolicy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@0044-write-support-remove-child-process-security-policy-bitmask-usage
Patch Set: Created 7 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
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_SECURITY_HELPER_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_SECURITY_HELPER_H_
7
8 #include "base/files/file_path.h"
9 #include "content/browser/child_process_security_policy_impl.h"
jam 2013/07/30 16:07:12 nit: don't include the header here.
tommycli 2013/07/30 17:52:41 Done.
10
11 namespace content {
12
13 // Helper method that returns whether or not the child process is allowed to
14 // open the specified |file| with the specified |pp_open_flags|.
15 CONTENT_EXPORT bool CanOpenWithPepperFlags(int pp_open_flags,
16 int child_id,
17 const base::FilePath& file);
18
19 } // namespace content
20
21 #endif // CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_SECURITY_HELPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698