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

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

Issue 55533003: Add extension permissions for new settings override API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added missing exclusion in gyp file. Created 7 years, 1 month 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
« no previous file with comments | « extensions/common/permissions/api_permission.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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 EXTENSIONS_COMMON_PERMISSIONS_PERMISSION_MESSAGE_H_ 5 #ifndef EXTENSIONS_COMMON_PERMISSIONS_PERMISSION_MESSAGE_H_
6 #define EXTENSIONS_COMMON_PERMISSIONS_PERMISSION_MESSAGE_H_ 6 #define EXTENSIONS_COMMON_PERMISSIONS_PERMISSION_MESSAGE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 kActivityLogPrivate, 67 kActivityLogPrivate,
68 kBluetoothDevices, 68 kBluetoothDevices,
69 kDownloadsOpen, 69 kDownloadsOpen,
70 kNetworkingPrivate, 70 kNetworkingPrivate,
71 kDeclarativeWebRequest, 71 kDeclarativeWebRequest,
72 kFileSystemDirectory, 72 kFileSystemDirectory,
73 kFileSystemWriteDirectory, 73 kFileSystemWriteDirectory,
74 kSignedInDevices, 74 kSignedInDevices,
75 kWallpaper, 75 kWallpaper,
76 kNetworkState, 76 kNetworkState,
77 kHomepage,
78 kSearchProvider,
79 kStartupPages,
77 kEnumBoundary, 80 kEnumBoundary,
78 }; 81 };
79 COMPILE_ASSERT(PermissionMessage::kNone > PermissionMessage::kUnknown, 82 COMPILE_ASSERT(PermissionMessage::kNone > PermissionMessage::kUnknown,
80 kNone_not_greater_than_kUnknown); 83 kNone_not_greater_than_kUnknown);
81 84
82 // Creates the corresponding permission message. 85 // Creates the corresponding permission message.
83 PermissionMessage(ID id, const string16& message); 86 PermissionMessage(ID id, const string16& message);
84 PermissionMessage(ID id, const string16& message, const string16& details); 87 PermissionMessage(ID id, const string16& message, const string16& details);
85 ~PermissionMessage(); 88 ~PermissionMessage();
86 89
(...skipping 23 matching lines...) Expand all
110 ID id_; 113 ID id_;
111 string16 message_; 114 string16 message_;
112 string16 details_; 115 string16 details_;
113 }; 116 };
114 117
115 typedef std::vector<PermissionMessage> PermissionMessages; 118 typedef std::vector<PermissionMessage> PermissionMessages;
116 119
117 } // namespace extensions 120 } // namespace extensions
118 121
119 #endif // EXTENSIONS_COMMON_PERMISSIONS_PERMISSION_MESSAGE_H_ 122 #endif // EXTENSIONS_COMMON_PERMISSIONS_PERMISSION_MESSAGE_H_
OLDNEW
« no previous file with comments | « extensions/common/permissions/api_permission.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698