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

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

Issue 245933002: Initial implementation of chrome.browser.openTab. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebasing. Created 6 years, 7 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
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_API_PERMISSION_H_ 5 #ifndef EXTENSIONS_COMMON_PERMISSIONS_API_PERMISSION_H_
6 #define EXTENSIONS_COMMON_PERMISSIONS_API_PERMISSION_H_ 6 #define EXTENSIONS_COMMON_PERMISSIONS_API_PERMISSION_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 kWebstorePrivate, 168 kWebstorePrivate,
169 kWebView, 169 kWebView,
170 kWindowShape, 170 kWindowShape,
171 kScreenlockPrivate, 171 kScreenlockPrivate,
172 kSystemCpu, 172 kSystemCpu,
173 kSystemMemory, 173 kSystemMemory,
174 kSystemNetwork, 174 kSystemNetwork,
175 kSystemInfoCpu, 175 kSystemInfoCpu,
176 kSystemInfoMemory, 176 kSystemInfoMemory,
177 kFirstRunPrivate, 177 kFirstRunPrivate,
178 kBrowser,
178 kEnumBoundary 179 kEnumBoundary
179 }; 180 };
180 181
181 struct CheckParam { 182 struct CheckParam {
182 }; 183 };
183 184
184 explicit APIPermission(const APIPermissionInfo* info); 185 explicit APIPermission(const APIPermissionInfo* info);
185 186
186 virtual ~APIPermission(); 187 virtual ~APIPermission();
187 188
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
343 const char* const name_; 344 const char* const name_;
344 const int flags_; 345 const int flags_;
345 const int l10n_message_id_; 346 const int l10n_message_id_;
346 const PermissionMessage::ID message_id_; 347 const PermissionMessage::ID message_id_;
347 const APIPermissionConstructor api_permission_constructor_; 348 const APIPermissionConstructor api_permission_constructor_;
348 }; 349 };
349 350
350 } // namespace extensions 351 } // namespace extensions
351 352
352 #endif // EXTENSIONS_COMMON_PERMISSIONS_API_PERMISSION_H_ 353 #endif // EXTENSIONS_COMMON_PERMISSIONS_API_PERMISSION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698