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

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

Issue 1213623006: Extensions: Remove PermissionMessage (permission_message.h/cc) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@kill_getmessages
Patch Set: fix app_shell build, rebase Created 5 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
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_PERMISSIONS_INFO_H_ 5 #ifndef EXTENSIONS_COMMON_PERMISSIONS_PERMISSIONS_INFO_H_
6 #define EXTENSIONS_COMMON_PERMISSIONS_PERMISSIONS_INFO_H_ 6 #define EXTENSIONS_COMMON_PERMISSIONS_PERMISSIONS_INFO_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
11 11
12 #include "base/callback.h" 12 #include "base/callback.h"
13 #include "base/lazy_instance.h" 13 #include "base/lazy_instance.h"
14 #include "extensions/common/permissions/api_permission.h" 14 #include "extensions/common/permissions/api_permission.h"
15 #include "extensions/common/permissions/api_permission_set.h" 15 #include "extensions/common/permissions/api_permission_set.h"
16 #include "extensions/common/permissions/permission_message.h"
17 #include "extensions/common/permissions/permissions_provider.h" 16 #include "extensions/common/permissions/permissions_provider.h"
18 17
19 namespace extensions { 18 namespace extensions {
20 19
21 // A global object that holds the extension permission instances and provides 20 // A global object that holds the extension permission instances and provides
22 // methods for accessing them. 21 // methods for accessing them.
23 class PermissionsInfo { 22 class PermissionsInfo {
24 public: 23 public:
25 static PermissionsInfo* GetInstance(); 24 static PermissionsInfo* GetInstance();
26 25
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 NameMap name_map_; 70 NameMap name_map_;
72 71
73 size_t permission_count_; 72 size_t permission_count_;
74 73
75 DISALLOW_COPY_AND_ASSIGN(PermissionsInfo); 74 DISALLOW_COPY_AND_ASSIGN(PermissionsInfo);
76 }; 75 };
77 76
78 } // namespace extensions 77 } // namespace extensions
79 78
80 #endif // EXTENSIONS_COMMON_PERMISSIONS_PERMISSIONS_INFO_H_ 79 #endif // EXTENSIONS_COMMON_PERMISSIONS_PERMISSIONS_INFO_H_
OLDNEW
« no previous file with comments | « extensions/common/permissions/permissions_data.h ('k') | extensions/common/permissions/socket_permission.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698