OLD | NEW |
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 CHROME_COMMON_EXTENSIONS_PERMISSIONS_MEDIA_GALLERIES_PERMISSION_H_ | 5 #ifndef EXTENSIONS_COMMON_PERMISSIONS_MEDIA_GALLERIES_PERMISSION_H_ |
6 #define CHROME_COMMON_EXTENSIONS_PERMISSIONS_MEDIA_GALLERIES_PERMISSION_H_ | 6 #define EXTENSIONS_COMMON_PERMISSIONS_MEDIA_GALLERIES_PERMISSION_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "chrome/common/extensions/permissions/media_galleries_permission_data.h
" | |
10 #include "chrome/common/extensions/permissions/set_disjunction_permission.h" | |
11 #include "extensions/common/permissions/api_permission.h" | 9 #include "extensions/common/permissions/api_permission.h" |
| 10 #include "extensions/common/permissions/media_galleries_permission_data.h" |
| 11 #include "extensions/common/permissions/set_disjunction_permission.h" |
12 | 12 |
13 namespace extensions { | 13 namespace extensions { |
14 | 14 |
15 // Media Galleries permissions are as follows: | 15 // Media Galleries permissions are as follows: |
16 // <media-galleries-permission-pattern> | 16 // <media-galleries-permission-pattern> |
17 // := <access> | <access> 'allAutoDetected' | 'allAutoDetected' | | 17 // := <access> | <access> 'allAutoDetected' | 'allAutoDetected' | |
18 // <access> 'scan' | 'scan' | 18 // <access> 'scan' | 'scan' |
19 // <access> := 'read' | 'read' <access> | 'read' <secondary-access> | 19 // <access> := 'read' | 'read' <access> | 'read' <secondary-access> |
20 // <secondary-access> | 20 // <secondary-access> |
21 // := 'delete' | 'delete' <secondary-access> | | 21 // := 'delete' | 'delete' <secondary-access> | |
(...skipping 24 matching lines...) Expand all Loading... |
46 // Permission strings. | 46 // Permission strings. |
47 static const char kAllAutoDetectedPermission[]; | 47 static const char kAllAutoDetectedPermission[]; |
48 static const char kScanPermission[]; | 48 static const char kScanPermission[]; |
49 static const char kReadPermission[]; | 49 static const char kReadPermission[]; |
50 static const char kCopyToPermission[]; | 50 static const char kCopyToPermission[]; |
51 static const char kDeletePermission[]; | 51 static const char kDeletePermission[]; |
52 }; | 52 }; |
53 | 53 |
54 } // namespace extensions | 54 } // namespace extensions |
55 | 55 |
56 #endif // CHROME_COMMON_EXTENSIONS_PERMISSIONS_MEDIA_GALLERIES_PERMISSION_H_ | 56 #endif // EXTENSIONS_COMMON_PERMISSIONS_MEDIA_GALLERIES_PERMISSION_H_ |
OLD | NEW |