| 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 <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| (...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 245 typedef std::map<std::string, std::set<std::string> > ExecutingScriptsMap; | 245 typedef std::map<std::string, std::set<std::string> > ExecutingScriptsMap; |
| 246 | 246 |
| 247 struct ExtensionMsg_PermissionSetStruct { | 247 struct ExtensionMsg_PermissionSetStruct { |
| 248 ExtensionMsg_PermissionSetStruct(); | 248 ExtensionMsg_PermissionSetStruct(); |
| 249 explicit ExtensionMsg_PermissionSetStruct( | 249 explicit ExtensionMsg_PermissionSetStruct( |
| 250 const extensions::PermissionSet& permissions); | 250 const extensions::PermissionSet& permissions); |
| 251 ExtensionMsg_PermissionSetStruct( | 251 ExtensionMsg_PermissionSetStruct( |
| 252 const ExtensionMsg_PermissionSetStruct& other); | 252 const ExtensionMsg_PermissionSetStruct& other); |
| 253 ~ExtensionMsg_PermissionSetStruct(); | 253 ~ExtensionMsg_PermissionSetStruct(); |
| 254 | 254 |
| 255 scoped_ptr<const extensions::PermissionSet> ToPermissionSet() const; | 255 std::unique_ptr<const extensions::PermissionSet> ToPermissionSet() const; |
| 256 | 256 |
| 257 extensions::APIPermissionSet apis; | 257 extensions::APIPermissionSet apis; |
| 258 extensions::ManifestPermissionSet manifest_permissions; | 258 extensions::ManifestPermissionSet manifest_permissions; |
| 259 extensions::URLPatternSet explicit_hosts; | 259 extensions::URLPatternSet explicit_hosts; |
| 260 extensions::URLPatternSet scriptable_hosts; | 260 extensions::URLPatternSet scriptable_hosts; |
| 261 }; | 261 }; |
| 262 | 262 |
| 263 struct ExtensionMsg_Loaded_Params { | 263 struct ExtensionMsg_Loaded_Params { |
| 264 ExtensionMsg_Loaded_Params(); | 264 ExtensionMsg_Loaded_Params(); |
| 265 ~ExtensionMsg_Loaded_Params(); | 265 ~ExtensionMsg_Loaded_Params(); |
| (...skipping 558 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 824 int /* acc_obj_id */, | 824 int /* acc_obj_id */, |
| 825 base::string16 /* selector */) | 825 base::string16 /* selector */) |
| 826 | 826 |
| 827 // Result of a query selector request. | 827 // Result of a query selector request. |
| 828 // result_acc_obj_id is the accessibility tree ID of the result element; 0 | 828 // result_acc_obj_id is the accessibility tree ID of the result element; 0 |
| 829 // indicates no result. | 829 // indicates no result. |
| 830 IPC_MESSAGE_ROUTED3(ExtensionHostMsg_AutomationQuerySelector_Result, | 830 IPC_MESSAGE_ROUTED3(ExtensionHostMsg_AutomationQuerySelector_Result, |
| 831 int /* request_id */, | 831 int /* request_id */, |
| 832 ExtensionHostMsg_AutomationQuerySelector_Error /* error */, | 832 ExtensionHostMsg_AutomationQuerySelector_Error /* error */, |
| 833 int /* result_acc_obj_id */) | 833 int /* result_acc_obj_id */) |
| OLD | NEW |