| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "chrome/common/extensions/extension_messages.h" | 5 #include "chrome/common/extensions/extension_messages.h" |
| 6 | 6 |
| 7 #include "chrome/common/extensions/extension_constants.h" | 7 #include "chrome/common/extensions/extension_constants.h" |
| 8 #include "content/common/common_param_traits.h" | 8 #include "content/public/common/common_param_traits.h" |
| 9 | 9 |
| 10 ExtensionMsg_Loaded_Params::ExtensionMsg_Loaded_Params() | 10 ExtensionMsg_Loaded_Params::ExtensionMsg_Loaded_Params() |
| 11 : location(Extension::INVALID), | 11 : location(Extension::INVALID), |
| 12 creation_flags(Extension::NO_FLAGS){} | 12 creation_flags(Extension::NO_FLAGS){} |
| 13 | 13 |
| 14 ExtensionMsg_Loaded_Params::~ExtensionMsg_Loaded_Params() {} | 14 ExtensionMsg_Loaded_Params::~ExtensionMsg_Loaded_Params() {} |
| 15 | 15 |
| 16 ExtensionMsg_Loaded_Params::ExtensionMsg_Loaded_Params( | 16 ExtensionMsg_Loaded_Params::ExtensionMsg_Loaded_Params( |
| 17 const ExtensionMsg_Loaded_Params& other) | 17 const ExtensionMsg_Loaded_Params& other) |
| 18 : manifest(other.manifest->DeepCopy()), | 18 : manifest(other.manifest->DeepCopy()), |
| (...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 186 ReadParam(m, iter, &p->explicit_hosts) && | 186 ReadParam(m, iter, &p->explicit_hosts) && |
| 187 ReadParam(m, iter, &p->scriptable_hosts); | 187 ReadParam(m, iter, &p->scriptable_hosts); |
| 188 } | 188 } |
| 189 | 189 |
| 190 void ParamTraits<ExtensionMsg_Loaded_Params>::Log(const param_type& p, | 190 void ParamTraits<ExtensionMsg_Loaded_Params>::Log(const param_type& p, |
| 191 std::string* l) { | 191 std::string* l) { |
| 192 l->append(p.id); | 192 l->append(p.id); |
| 193 } | 193 } |
| 194 | 194 |
| 195 } // namespace IPC | 195 } // namespace IPC |
| OLD | NEW |