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 #include "extensions/common/extension_messages.h" | 5 #include "extensions/common/extension_messages.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 | 8 |
9 #include <memory> | 9 #include <memory> |
10 | 10 |
11 #include "base/memory/ptr_util.h" | 11 #include "base/memory/ptr_util.h" |
12 #include "content/public/common/common_param_traits.h" | 12 #include "content/public/common/common_param_traits.h" |
13 #include "extensions/common/extension.h" | 13 #include "extensions/common/extension.h" |
14 #include "extensions/common/manifest.h" | 14 #include "extensions/common/manifest.h" |
15 #include "extensions/common/manifest_handler.h" | 15 #include "extensions/common/manifest_handler.h" |
16 #include "extensions/common/manifest_location_param_traits.h" | |
17 #include "extensions/common/permissions/permissions_data.h" | 16 #include "extensions/common/permissions/permissions_data.h" |
18 #include "extensions/common/permissions/permissions_info.h" | 17 #include "extensions/common/permissions/permissions_info.h" |
19 | 18 |
20 using extensions::APIPermission; | 19 using extensions::APIPermission; |
21 using extensions::APIPermissionInfo; | 20 using extensions::APIPermissionInfo; |
22 using extensions::APIPermissionSet; | 21 using extensions::APIPermissionSet; |
23 using extensions::Extension; | 22 using extensions::Extension; |
24 using extensions::Manifest; | 23 using extensions::Manifest; |
25 using extensions::ManifestHandler; | 24 using extensions::ManifestHandler; |
26 using extensions::ManifestPermission; | 25 using extensions::ManifestPermission; |
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
390 ReadParam(m, iter, &p->policy_allowed_hosts) && | 389 ReadParam(m, iter, &p->policy_allowed_hosts) && |
391 ReadParam(m, iter, &p->uses_default_policy_blocked_allowed_hosts); | 390 ReadParam(m, iter, &p->uses_default_policy_blocked_allowed_hosts); |
392 } | 391 } |
393 | 392 |
394 void ParamTraits<ExtensionMsg_Loaded_Params>::Log(const param_type& p, | 393 void ParamTraits<ExtensionMsg_Loaded_Params>::Log(const param_type& p, |
395 std::string* l) { | 394 std::string* l) { |
396 l->append(p.id); | 395 l->append(p.id); |
397 } | 396 } |
398 | 397 |
399 } // namespace IPC | 398 } // namespace IPC |
OLD | NEW |