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

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

Issue 8368004: Move common_param_traits and webkit_param_traits to content/public/common. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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 | Annotate | Revision Log
OLDNEW
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
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
OLDNEW
« no previous file with comments | « chrome/common/common_param_traits_unittest.cc ('k') | chrome/common/extensions/extension_unpacker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698