OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 EXTENSIONS_COMMON_PERMISSIONS_MEDIA_GALLERIES_PERMISSION_H_ | 5 #ifndef EXTENSIONS_COMMON_PERMISSIONS_MEDIA_GALLERIES_PERMISSION_H_ |
6 #define EXTENSIONS_COMMON_PERMISSIONS_MEDIA_GALLERIES_PERMISSION_H_ | 6 #define EXTENSIONS_COMMON_PERMISSIONS_MEDIA_GALLERIES_PERMISSION_H_ |
7 | 7 |
8 #include "base/basictypes.h" | |
9 #include "extensions/common/permissions/api_permission.h" | 8 #include "extensions/common/permissions/api_permission.h" |
10 #include "extensions/common/permissions/media_galleries_permission_data.h" | 9 #include "extensions/common/permissions/media_galleries_permission_data.h" |
11 #include "extensions/common/permissions/set_disjunction_permission.h" | 10 #include "extensions/common/permissions/set_disjunction_permission.h" |
12 | 11 |
13 namespace extensions { | 12 namespace extensions { |
14 | 13 |
15 // Media Galleries permissions are as follows: | 14 // Media Galleries permissions are as follows: |
16 // <media-galleries-permission-pattern> | 15 // <media-galleries-permission-pattern> |
17 // := <access> | <access> 'allAutoDetected' | 'allAutoDetected' | | 16 // := <access> | <access> 'allAutoDetected' | 'allAutoDetected' | |
18 // <access> 'scan' | 'scan' | 17 // <access> 'scan' | 'scan' |
(...skipping 30 matching lines...) Expand all Loading... |
49 static const char kAllAutoDetectedPermission[]; | 48 static const char kAllAutoDetectedPermission[]; |
50 static const char kScanPermission[]; | 49 static const char kScanPermission[]; |
51 static const char kReadPermission[]; | 50 static const char kReadPermission[]; |
52 static const char kCopyToPermission[]; | 51 static const char kCopyToPermission[]; |
53 static const char kDeletePermission[]; | 52 static const char kDeletePermission[]; |
54 }; | 53 }; |
55 | 54 |
56 } // namespace extensions | 55 } // namespace extensions |
57 | 56 |
58 #endif // EXTENSIONS_COMMON_PERMISSIONS_MEDIA_GALLERIES_PERMISSION_H_ | 57 #endif // EXTENSIONS_COMMON_PERMISSIONS_MEDIA_GALLERIES_PERMISSION_H_ |
OLD | NEW |