| OLD | NEW |
| 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 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 242 | 242 |
| 243 // Map of extensions IDs to the executing script paths. | 243 // Map of extensions IDs to the executing script paths. |
| 244 typedef std::map<std::string, std::set<std::string> > ExecutingScriptsMap; | 244 typedef std::map<std::string, std::set<std::string> > ExecutingScriptsMap; |
| 245 | 245 |
| 246 struct ExtensionMsg_PermissionSetStruct { | 246 struct ExtensionMsg_PermissionSetStruct { |
| 247 ExtensionMsg_PermissionSetStruct(); | 247 ExtensionMsg_PermissionSetStruct(); |
| 248 explicit ExtensionMsg_PermissionSetStruct( | 248 explicit ExtensionMsg_PermissionSetStruct( |
| 249 const extensions::PermissionSet& permissions); | 249 const extensions::PermissionSet& permissions); |
| 250 ~ExtensionMsg_PermissionSetStruct(); | 250 ~ExtensionMsg_PermissionSetStruct(); |
| 251 | 251 |
| 252 scoped_refptr<const extensions::PermissionSet> ToPermissionSet() const; | 252 scoped_ptr<const extensions::PermissionSet> ToPermissionSet() const; |
| 253 | 253 |
| 254 extensions::APIPermissionSet apis; | 254 extensions::APIPermissionSet apis; |
| 255 extensions::ManifestPermissionSet manifest_permissions; | 255 extensions::ManifestPermissionSet manifest_permissions; |
| 256 extensions::URLPatternSet explicit_hosts; | 256 extensions::URLPatternSet explicit_hosts; |
| 257 extensions::URLPatternSet scriptable_hosts; | 257 extensions::URLPatternSet scriptable_hosts; |
| 258 }; | 258 }; |
| 259 | 259 |
| 260 struct ExtensionMsg_Loaded_Params { | 260 struct ExtensionMsg_Loaded_Params { |
| 261 ExtensionMsg_Loaded_Params(); | 261 ExtensionMsg_Loaded_Params(); |
| 262 ~ExtensionMsg_Loaded_Params(); | 262 ~ExtensionMsg_Loaded_Params(); |
| (...skipping 532 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 795 int /* acc_obj_id */, | 795 int /* acc_obj_id */, |
| 796 base::string16 /* selector */) | 796 base::string16 /* selector */) |
| 797 | 797 |
| 798 // Result of a query selector request. | 798 // Result of a query selector request. |
| 799 // result_acc_obj_id is the accessibility tree ID of the result element; 0 | 799 // result_acc_obj_id is the accessibility tree ID of the result element; 0 |
| 800 // indicates no result. | 800 // indicates no result. |
| 801 IPC_MESSAGE_ROUTED3(ExtensionHostMsg_AutomationQuerySelector_Result, | 801 IPC_MESSAGE_ROUTED3(ExtensionHostMsg_AutomationQuerySelector_Result, |
| 802 int /* request_id */, | 802 int /* request_id */, |
| 803 ExtensionHostMsg_AutomationQuerySelector_Error /* error */, | 803 ExtensionHostMsg_AutomationQuerySelector_Error /* error */, |
| 804 int /* result_acc_obj_id */) | 804 int /* result_acc_obj_id */) |
| OLD | NEW |