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

Side by Side Diff: chrome/common/extensions/permissions/api_permission.h

Issue 10704258: Add extension permissions for Media Gallery API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_API_PERMISSION_H_ 5 #ifndef CHROME_COMMON_EXTENSIONS_PERMISSIONS_API_PERMISSION_H_
6 #define CHROME_COMMON_EXTENSIONS_PERMISSIONS_API_PERMISSION_H_ 6 #define CHROME_COMMON_EXTENSIONS_PERMISSIONS_API_PERMISSION_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "chrome/common/extensions/permissions/permission_message.h" 10 #include "chrome/common/extensions/permissions/permission_message.h"
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 kFileSystem, 52 kFileSystem,
53 kFileSystemWrite, 53 kFileSystemWrite,
54 kGeolocation, 54 kGeolocation,
55 kHistory, 55 kHistory,
56 kIdle, 56 kIdle,
57 kInput, 57 kInput,
58 kInputMethodPrivate, 58 kInputMethodPrivate,
59 kKeybinding, 59 kKeybinding,
60 kManagedModePrivate, 60 kManagedModePrivate,
61 kManagement, 61 kManagement,
62 kMediaGalleries,
63 kMediaGalleriesDefaultAll,
64 kMediaGalleriesRead,
65 kMediaGalleriesWrite,
62 kMediaPlayerPrivate, 66 kMediaPlayerPrivate,
63 kMetricsPrivate, 67 kMetricsPrivate,
64 kNotification, 68 kNotification,
65 kPageCapture, 69 kPageCapture,
66 kPlugin, 70 kPlugin,
67 kPrivacy, 71 kPrivacy,
68 kProxy, 72 kProxy,
69 kSocket, 73 kSocket,
70 kStorage, 74 kStorage,
71 kSystemPrivate, 75 kSystemPrivate,
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 int flags_; 158 int flags_;
155 int l10n_message_id_; 159 int l10n_message_id_;
156 PermissionMessage::ID message_id_; 160 PermissionMessage::ID message_id_;
157 }; 161 };
158 162
159 typedef std::set<APIPermission::ID> APIPermissionSet; 163 typedef std::set<APIPermission::ID> APIPermissionSet;
160 164
161 } // namespace extensions 165 } // namespace extensions
162 166
163 #endif // CHROME_COMMON_EXTENSIONS_PERMISSIONS_API_PERMISSION_H_ 167 #endif // CHROME_COMMON_EXTENSIONS_PERMISSIONS_API_PERMISSION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698