naiveproxy/chrome/common/conflicts/module_event_sink_win.mojom
2018-02-02 05:49:39 -05:00

22 lines
765 B
Plaintext

// 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,
};
// 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);
};