Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(21)

Unified Diff: chrome/common/conflicts/module_event_sink_win.mojom

Issue 2576843002: [win] Create ModuleDatabase and ModuleEventSinkImpl. (Closed)
Patch Set: Fix small bug. Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/conflicts/module_database_win.mojom ('k') | chrome/common/conflicts/module_event_win.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
+};
« no previous file with comments | « chrome/common/conflicts/module_database_win.mojom ('k') | chrome/common/conflicts/module_event_win.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698