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

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

Issue 12680004: Remove chrome/ code to handle App Notifications (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix merge conflicts. Created 7 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) 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 <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 23 matching lines...) Expand all
34 public: 34 public:
35 enum ID { 35 enum ID {
36 // Error codes. 36 // Error codes.
37 kInvalid = -2, 37 kInvalid = -2,
38 kUnknown = -1, 38 kUnknown = -1,
39 39
40 // Real permissions. 40 // Real permissions.
41 kActiveTab, 41 kActiveTab,
42 kAlarms, 42 kAlarms,
43 kAppCurrentWindowInternal, 43 kAppCurrentWindowInternal,
44 kAppNotifications,
45 kAppRuntime, 44 kAppRuntime,
46 kAppWindow, 45 kAppWindow,
47 kAudioCapture, 46 kAudioCapture,
48 kAutoTestPrivate, 47 kAutoTestPrivate,
49 kBackground, 48 kBackground,
50 kBluetooth, 49 kBluetooth,
51 kBluetoothDevice, 50 kBluetoothDevice,
52 kBookmark, 51 kBookmark,
53 kBookmarkManagerPrivate, 52 kBookmarkManagerPrivate,
54 kBrowsingData, 53 kBrowsingData,
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 const char* const name_; 291 const char* const name_;
293 const int flags_; 292 const int flags_;
294 const int l10n_message_id_; 293 const int l10n_message_id_;
295 const PermissionMessage::ID message_id_; 294 const PermissionMessage::ID message_id_;
296 const APIPermissionConstructor api_permission_constructor_; 295 const APIPermissionConstructor api_permission_constructor_;
297 }; 296 };
298 297
299 } // namespace extensions 298 } // namespace extensions
300 299
301 #endif // CHROME_COMMON_EXTENSIONS_PERMISSIONS_API_PERMISSION_H_ 300 #endif // CHROME_COMMON_EXTENSIONS_PERMISSIONS_API_PERMISSION_H_
OLDNEW
« no previous file with comments | « chrome/common/extensions/extension_messages.h ('k') | chrome/common/extensions/permissions/api_permission.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698