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

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

Issue 11312228: Move extension_error_utils.* and url_pattern_set.* into (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: hate Created 8 years, 1 month 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
« no previous file with comments | « chrome/common/extensions/extension_messages.h ('k') | chrome/common/extensions/extension_set.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.h"
8 #include "chrome/common/extensions/extension_constants.h" 8 #include "chrome/common/extensions/extension_constants.h"
9 #include "chrome/common/extensions/manifest.h" 9 #include "chrome/common/extensions/manifest.h"
10 #include "chrome/common/extensions/permissions/permissions_info.h" 10 #include "chrome/common/extensions/permissions/permissions_info.h"
11 #include "content/public/common/common_param_traits.h" 11 #include "content/public/common/common_param_traits.h"
12 12
13 using extensions::APIPermission; 13 using extensions::APIPermission;
14 using extensions::APIPermissionInfo; 14 using extensions::APIPermissionInfo;
15 using extensions::APIPermissionMap; 15 using extensions::APIPermissionMap;
16 using extensions::APIPermissionSet; 16 using extensions::APIPermissionSet;
17 using extensions::Extension; 17 using extensions::Extension;
18 using extensions::PermissionSet; 18 using extensions::PermissionSet;
19 using extensions::SocketPermissionData; 19 using extensions::SocketPermissionData;
20 using extensions::URLPatternSet;
20 21
21 ExtensionMsg_Loaded_Params::ExtensionMsg_Loaded_Params() 22 ExtensionMsg_Loaded_Params::ExtensionMsg_Loaded_Params()
22 : location(Extension::INVALID), 23 : location(Extension::INVALID),
23 creation_flags(Extension::NO_FLAGS){} 24 creation_flags(Extension::NO_FLAGS){}
24 25
25 ExtensionMsg_Loaded_Params::~ExtensionMsg_Loaded_Params() {} 26 ExtensionMsg_Loaded_Params::~ExtensionMsg_Loaded_Params() {}
26 27
27 ExtensionMsg_Loaded_Params::ExtensionMsg_Loaded_Params( 28 ExtensionMsg_Loaded_Params::ExtensionMsg_Loaded_Params(
28 const Extension* extension) 29 const Extension* extension)
29 : manifest(extension->manifest()->value()->DeepCopy()), 30 : manifest(extension->manifest()->value()->DeepCopy()),
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 ReadParam(m, iter, &p->explicit_hosts) && 230 ReadParam(m, iter, &p->explicit_hosts) &&
230 ReadParam(m, iter, &p->scriptable_hosts); 231 ReadParam(m, iter, &p->scriptable_hosts);
231 } 232 }
232 233
233 void ParamTraits<ExtensionMsg_Loaded_Params>::Log(const param_type& p, 234 void ParamTraits<ExtensionMsg_Loaded_Params>::Log(const param_type& p,
234 std::string* l) { 235 std::string* l) {
235 l->append(p.id); 236 l->append(p.id);
236 } 237 }
237 238
238 } // namespace IPC 239 } // namespace IPC
OLDNEW
« no previous file with comments | « chrome/common/extensions/extension_messages.h ('k') | chrome/common/extensions/extension_set.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698