| Index: chrome/common/conflicts/module_event_sink_win.mojom
|
| diff --git a/chrome/common/conflicts/module_event_win.mojom b/chrome/common/conflicts/module_event_sink_win.mojom
|
| similarity index 56%
|
| rename from chrome/common/conflicts/module_event_win.mojom
|
| rename to chrome/common/conflicts/module_event_sink_win.mojom
|
| index d280156b2bbb36c0c79db3872f34868bb9439d98..61d018373796df75866497a70cac361e563ab2ac 100644
|
| --- a/chrome/common/conflicts/module_event_win.mojom
|
| +++ b/chrome/common/conflicts/module_event_sink_win.mojom
|
| @@ -1,27 +1,23 @@
|
| -// 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.
|
| - uint64 load_address;
|
| - // The size of the module in memory, in bytes.
|
| - uint32 size;
|
| -};
|
| +// 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,
|
| +};
|
| +
|
| +// Interface for a remote consumer of module events.
|
| +interface ModuleEventSink {
|
| + // Notifies the module database of a module event in a remote process. The
|
| + // module is identified only by its load address, which is sufficient for
|
| + // any process to safely look up the module.
|
| + OnModuleEvent(ModuleEventType event_type, uint64 load_address);
|
| +};
|
|
|