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

Side by Side Diff: webkit/browser/fileapi/file_permission_policy.h

Issue 16701004: Fix webkit_storage exports definitions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 6 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
« no previous file with comments | « webkit/browser/fileapi/file_observers.h ('k') | webkit/browser/fileapi/file_stream_writer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 WEBKIT_BROWSER_FILEAPI_FILE_PERMISSION_POLICY_H_ 5 #ifndef WEBKIT_BROWSER_FILEAPI_FILE_PERMISSION_POLICY_H_
6 #define WEBKIT_BROWSER_FILEAPI_FILE_PERMISSION_POLICY_H_ 6 #define WEBKIT_BROWSER_FILEAPI_FILE_PERMISSION_POLICY_H_
7 7
8 #include "webkit/storage/webkit_storage_export.h" 8 #include "webkit/browser/webkit_storage_browser_export.h"
9 9
10 namespace fileapi { 10 namespace fileapi {
11 11
12 WEBKIT_STORAGE_EXPORT extern const int kReadFilePermissions; 12 WEBKIT_STORAGE_BROWSER_EXPORT extern const int kReadFilePermissions;
13 WEBKIT_STORAGE_EXPORT extern const int kWriteFilePermissions; 13 WEBKIT_STORAGE_BROWSER_EXPORT extern const int kWriteFilePermissions;
14 WEBKIT_STORAGE_EXPORT extern const int kCreateFilePermissions; 14 WEBKIT_STORAGE_BROWSER_EXPORT extern const int kCreateFilePermissions;
15 WEBKIT_STORAGE_EXPORT extern const int kOpenFilePermissions; 15 WEBKIT_STORAGE_BROWSER_EXPORT extern const int kOpenFilePermissions;
16 16
17 enum FilePermissionPolicy { 17 enum FilePermissionPolicy {
18 // Any access should be always denied. 18 // Any access should be always denied.
19 FILE_PERMISSION_ALWAYS_DENY, 19 FILE_PERMISSION_ALWAYS_DENY,
20 20
21 // Any access should be always allowed. (This should be used only for 21 // Any access should be always allowed. (This should be used only for
22 // access to sandbox directories.) 22 // access to sandbox directories.)
23 FILE_PERMISSION_ALWAYS_ALLOW, 23 FILE_PERMISSION_ALWAYS_ALLOW,
24 24
25 // Access should be examined by per-file permission policy. 25 // Access should be examined by per-file permission policy.
26 FILE_PERMISSION_USE_FILE_PERMISSION, 26 FILE_PERMISSION_USE_FILE_PERMISSION,
27 27
28 // Access should be examined by per-filesystem permission policy. 28 // Access should be examined by per-filesystem permission policy.
29 FILE_PERMISSION_USE_FILESYSTEM_PERMISSION, 29 FILE_PERMISSION_USE_FILESYSTEM_PERMISSION,
30 }; 30 };
31 31
32 } // namespace fileapi 32 } // namespace fileapi
33 33
34 #endif // WEBKIT_BROWSER_FILEAPI_FILE_PERMISSION_POLICY_H_ 34 #endif // WEBKIT_BROWSER_FILEAPI_FILE_PERMISSION_POLICY_H_
OLDNEW
« no previous file with comments | « webkit/browser/fileapi/file_observers.h ('k') | webkit/browser/fileapi/file_stream_writer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698