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

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

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 #ifndef CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_SECURITY_HELPER_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_SECURITY_HELPER_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_SECURITY_HELPER_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_SECURITY_HELPER_H_
7 7
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "content/common/content_export.h" 9 #include "content/common/content_export.h"
10 #include "webkit/browser/fileapi/file_system_url.h" 10 #include "storage/browser/fileapi/file_system_url.h"
11 11
12 namespace content { 12 namespace content {
13 13
14 // Helper function that returns whether or not the child process is allowed to 14 // Helper function that returns whether or not the child process is allowed to
15 // open the specified |file| with the specified |pp_open_flags|. 15 // open the specified |file| with the specified |pp_open_flags|.
16 CONTENT_EXPORT bool CanOpenWithPepperFlags(int pp_open_flags, 16 CONTENT_EXPORT bool CanOpenWithPepperFlags(int pp_open_flags,
17 int child_id, 17 int child_id,
18 const base::FilePath& file); 18 const base::FilePath& file);
19 19
20 // Helper function that returns whether or not the child process is allowed to 20 // Helper function that returns whether or not the child process is allowed to
21 // open the specified file system |url| with the specified |pp_open_flags|. 21 // open the specified file system |url| with the specified |pp_open_flags|.
22 CONTENT_EXPORT bool CanOpenFileSystemURLWithPepperFlags( 22 CONTENT_EXPORT bool CanOpenFileSystemURLWithPepperFlags(
23 int pp_open_flags, 23 int pp_open_flags,
24 int child_id, 24 int child_id,
25 const fileapi::FileSystemURL& url); 25 const storage::FileSystemURL& url);
26 26
27 } // namespace content 27 } // namespace content
28 28
29 #endif // CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_SECURITY_HELPER_H_ 29 #endif // CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_SECURITY_HELPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698