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

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: Address comment Created 8 years, 4 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 kFileSystemWrite, 53 kFileSystemWrite,
54 kFontSettings, 54 kFontSettings,
55 kGeolocation, 55 kGeolocation,
56 kHistory, 56 kHistory,
57 kIdle, 57 kIdle,
58 kInput, 58 kInput,
59 kInputMethodPrivate, 59 kInputMethodPrivate,
60 kKeybinding, 60 kKeybinding,
61 kManagedModePrivate, 61 kManagedModePrivate,
62 kManagement, 62 kManagement,
63 kMediaGalleries,
64 kMediaGalleriesAccessEverything,
65 kMediaGalleriesRead,
63 kMediaPlayerPrivate, 66 kMediaPlayerPrivate,
64 kMetricsPrivate, 67 kMetricsPrivate,
65 kNotification, 68 kNotification,
66 kPageCapture, 69 kPageCapture,
67 kPlugin, 70 kPlugin,
68 kPrivacy, 71 kPrivacy,
69 kProxy, 72 kProxy,
70 kSocket, 73 kSocket,
71 kStorage, 74 kStorage,
72 kSystemPrivate, 75 kSystemPrivate,
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 int flags_; 158 int flags_;
156 int l10n_message_id_; 159 int l10n_message_id_;
157 PermissionMessage::ID message_id_; 160 PermissionMessage::ID message_id_;
158 }; 161 };
159 162
160 typedef std::set<APIPermission::ID> APIPermissionSet; 163 typedef std::set<APIPermission::ID> APIPermissionSet;
161 164
162 } // namespace extensions 165 } // namespace extensions
163 166
164 #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