Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 module mojom; | |
| 6 | |
| 7 // The types of module events that can occur. | |
| 8 enum ModuleEventType { | |
| 9 // A module was already loaded, but its presence is being observed. | |
| 10 MODULE_ALREADY_LOADED, | |
| 11 // A module is in the process of being loaded. | |
| 12 MODULE_LOADED, | |
| 13 // A module is in the process of being unloaded. | |
| 14 MODULE_UNLOADED, | |
| 15 }; | |
| 16 | |
| 17 // A notification about a module being loaded or unloaded. | |
| 18 struct ModuleEvent { | |
| 19 // The type of event. | |
| 20 ModuleEventType event_type; | |
| 21 // The full path to the module being loaded or unloaded. | |
| 22 string module_path; | |
| 23 // The load address of the module, in an integer form. This is 64-bit so that | |
|
grt (UTC plus 2)
2016/11/10 08:52:12
nit: "in an integer form" is superfluous. i'm not
chrisha
2016/11/14 16:06:44
Done.
| |
| 24 // it works on both platforms. | |
| 25 uint64 load_address; | |
| 26 // The size of the module in memory, in bytes. | |
| 27 uint32 size; | |
| 28 }; | |
| OLD | NEW |