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

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

Issue 2952353002: Extensions: Pass current channel and feature session type to extension unpack utility process. (Closed)
Patch Set: Use a single file to hold enum traits. Created 3 years, 5 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
« no previous file with comments | « extensions/common/extension_messages.h ('k') | extensions/common/extension_unpacker.mojom » ('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 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
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
OLDNEW
« no previous file with comments | « extensions/common/extension_messages.h ('k') | extensions/common/extension_unpacker.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698