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

Side by Side Diff: chrome/common/extensions/extension_messages.cc

Issue 10375021: Move Extension into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Take 6 Created 8 years, 7 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 (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 #include "chrome/common/extensions/extension_messages.h" 5 #include "chrome/common/extensions/extension_messages.h"
6 6
7 #include "chrome/common/extensions/extension.h"
7 #include "chrome/common/extensions/extension_constants.h" 8 #include "chrome/common/extensions/extension_constants.h"
8 #include "chrome/common/extensions/manifest.h" 9 #include "chrome/common/extensions/manifest.h"
9 #include "content/public/common/common_param_traits.h" 10 #include "content/public/common/common_param_traits.h"
10 11
12 using extensions::Extension;
13
11 ExtensionMsg_Loaded_Params::ExtensionMsg_Loaded_Params() 14 ExtensionMsg_Loaded_Params::ExtensionMsg_Loaded_Params()
12 : location(Extension::INVALID), 15 : location(Extension::INVALID),
13 creation_flags(Extension::NO_FLAGS){} 16 creation_flags(Extension::NO_FLAGS){}
14 17
15 ExtensionMsg_Loaded_Params::~ExtensionMsg_Loaded_Params() {} 18 ExtensionMsg_Loaded_Params::~ExtensionMsg_Loaded_Params() {}
16 19
17 ExtensionMsg_Loaded_Params::ExtensionMsg_Loaded_Params( 20 ExtensionMsg_Loaded_Params::ExtensionMsg_Loaded_Params(
18 const Extension* extension) 21 const Extension* extension)
19 : manifest(extension->manifest()->value()->DeepCopy()), 22 : manifest(extension->manifest()->value()->DeepCopy()),
20 location(extension->location()), 23 location(extension->location()),
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 ReadParam(m, iter, &p->explicit_hosts) && 160 ReadParam(m, iter, &p->explicit_hosts) &&
158 ReadParam(m, iter, &p->scriptable_hosts); 161 ReadParam(m, iter, &p->scriptable_hosts);
159 } 162 }
160 163
161 void ParamTraits<ExtensionMsg_Loaded_Params>::Log(const param_type& p, 164 void ParamTraits<ExtensionMsg_Loaded_Params>::Log(const param_type& p,
162 std::string* l) { 165 std::string* l) {
163 l->append(p.id); 166 l->append(p.id);
164 } 167 }
165 168
166 } // namespace IPC 169 } // namespace IPC
OLDNEW
« no previous file with comments | « chrome/common/extensions/extension_messages.h ('k') | chrome/common/extensions/extension_permission_set.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698