Chromium Code Reviews| Index: chrome/common/conflicts/module_event_win.mojom |
| diff --git a/chrome/common/conflicts/module_event_win.mojom b/chrome/common/conflicts/module_event_win.mojom |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..068a40d2ff027e84e564c931ff5a376a5362af99 |
| --- /dev/null |
| +++ b/chrome/common/conflicts/module_event_win.mojom |
| @@ -0,0 +1,28 @@ |
| +// Copyright 2016 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +module mojom; |
| + |
| +// The types of module events that can occur. |
| +enum ModuleEventType { |
| + // A module was already loaded, but its presence is being observed. |
| + MODULE_ALREADY_LOADED, |
| + // A module is in the process of being loaded. |
| + MODULE_LOADED, |
| + // A module is in the process of being unloaded. |
| + MODULE_UNLOADED, |
| +}; |
| + |
| +// A notification about a module being loaded or unloaded. |
| +struct ModuleEvent { |
| + // The type of event. |
| + ModuleEventType event_type; |
| + // The full path to the module being loaded or unloaded. |
| + string module_path; |
| + // 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.
|
| + // it works on both platforms. |
| + uint64 load_address; |
| + // The size of the module in memory, in bytes. |
| + uint32 size; |
| +}; |