OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_SET_DISJUNCTION_PERMISSION_H_ | 5 #ifndef EXTENSIONS_COMMON_PERMISSIONS_SET_DISJUNCTION_PERMISSION_H_ |
6 #define EXTENSIONS_COMMON_PERMISSIONS_SET_DISJUNCTION_PERMISSION_H_ | 6 #define EXTENSIONS_COMMON_PERMISSIONS_SET_DISJUNCTION_PERMISSION_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include <set> | 10 #include <set> |
9 #include <string> | 11 #include <string> |
10 | 12 |
11 #include "base/json/json_writer.h" | 13 #include "base/json/json_writer.h" |
12 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
13 #include "base/values.h" | 15 #include "base/values.h" |
14 #include "extensions/common/extension_messages.h" | 16 #include "extensions/common/extension_messages.h" |
15 #include "extensions/common/permissions/api_permission.h" | 17 #include "extensions/common/permissions/api_permission.h" |
16 #include "ipc/ipc_message.h" | 18 #include "ipc/ipc_message.h" |
17 #include "ipc/ipc_message_utils.h" | 19 #include "ipc/ipc_message_utils.h" |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 IPC::LogParam(data_set_, log); | 159 IPC::LogParam(data_set_, log); |
158 } | 160 } |
159 | 161 |
160 protected: | 162 protected: |
161 std::set<PermissionDataType> data_set_; | 163 std::set<PermissionDataType> data_set_; |
162 }; | 164 }; |
163 | 165 |
164 } // namespace extensions | 166 } // namespace extensions |
165 | 167 |
166 #endif // EXTENSIONS_COMMON_PERMISSIONS_SET_DISJUNCTION_PERMISSION_H_ | 168 #endif // EXTENSIONS_COMMON_PERMISSIONS_SET_DISJUNCTION_PERMISSION_H_ |
OLD | NEW |