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

Side by Side Diff: extensions/common/permissions/media_galleries_permission.h

Issue 201203006: Move basic API permissions code out of //chrome (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: move moar things Created 6 years, 9 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 (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
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_
OLDNEW
« no previous file with comments | « extensions/common/extension_messages.h ('k') | extensions/common/permissions/media_galleries_permission.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698