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

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

Issue 510313002: Extensions-related fixups for scoped_refptr conversion operator removal. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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/browser/extension_function.h ('k') | extensions/common/extension_messages.cc » ('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 // IPC messages for extensions. 5 // IPC messages for extensions.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 // to typedef it to avoid that. 210 // to typedef it to avoid that.
211 // Substitution map for l10n messages. 211 // Substitution map for l10n messages.
212 typedef std::map<std::string, std::string> SubstitutionMap; 212 typedef std::map<std::string, std::string> SubstitutionMap;
213 213
214 // Map of extensions IDs to the executing script paths. 214 // Map of extensions IDs to the executing script paths.
215 typedef std::map<std::string, std::set<std::string> > ExecutingScriptsMap; 215 typedef std::map<std::string, std::set<std::string> > ExecutingScriptsMap;
216 216
217 struct ExtensionMsg_PermissionSetStruct { 217 struct ExtensionMsg_PermissionSetStruct {
218 ExtensionMsg_PermissionSetStruct(); 218 ExtensionMsg_PermissionSetStruct();
219 explicit ExtensionMsg_PermissionSetStruct( 219 explicit ExtensionMsg_PermissionSetStruct(
220 const extensions::PermissionSet* permissions); 220 const extensions::PermissionSet& permissions);
221 ~ExtensionMsg_PermissionSetStruct(); 221 ~ExtensionMsg_PermissionSetStruct();
222 222
223 scoped_refptr<const extensions::PermissionSet> ToPermissionSet() const; 223 scoped_refptr<const extensions::PermissionSet> ToPermissionSet() const;
224 224
225 extensions::APIPermissionSet apis; 225 extensions::APIPermissionSet apis;
226 extensions::ManifestPermissionSet manifest_permissions; 226 extensions::ManifestPermissionSet manifest_permissions;
227 extensions::URLPatternSet explicit_hosts; 227 extensions::URLPatternSet explicit_hosts;
228 extensions::URLPatternSet scriptable_hosts; 228 extensions::URLPatternSet scriptable_hosts;
229 }; 229 };
230 230
(...skipping 488 matching lines...) Expand 10 before | Expand all | Expand 10 after
719 extensions::StackTrace /* stack trace */, 719 extensions::StackTrace /* stack trace */,
720 int32 /* severity level */) 720 int32 /* severity level */)
721 721
722 // Sent by the renderer to set initialization parameters of a Browser Plugin 722 // Sent by the renderer to set initialization parameters of a Browser Plugin
723 // that is identified by |element_instance_id|. 723 // that is identified by |element_instance_id|.
724 IPC_MESSAGE_CONTROL4(ExtensionHostMsg_AttachGuest, 724 IPC_MESSAGE_CONTROL4(ExtensionHostMsg_AttachGuest,
725 int /* routing_id */, 725 int /* routing_id */,
726 int /* element_instance_id */, 726 int /* element_instance_id */,
727 int /* guest_instance_id */, 727 int /* guest_instance_id */,
728 base::DictionaryValue /* attach_params */) 728 base::DictionaryValue /* attach_params */)
OLDNEW
« no previous file with comments | « extensions/browser/extension_function.h ('k') | extensions/common/extension_messages.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698