Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 module mojom; | 5 module mojom; |
| 6 | 6 |
| 7 // This brings in a definition for ModuleEvent. | 7 // This brings in a definition for ModuleEvent. |
| 8 import "chrome/common/conflicts/module_event_win.mojom"; | 8 import "chrome/common/conflicts/module_event_win.mojom"; |
| 9 | 9 |
| 10 // Interface for a remote module database. | 10 // Interface for a remote module database. |
| 11 interface ModuleDatabase { | 11 interface ModuleDatabase { |
| 12 // Notifies the module database of a remote process that has just started, | |
| 13 // including its |process_id| and |process_type|. The |process_type| is from | |
| 14 // the enumeration in "content/public/common/process_type.h". | |
| 15 OnProcessStarted(uint32 process_id, uint32 process_type); | |
|
grt (UTC plus 2)
2016/12/15 09:07:12
does |process_id| come across the wire from the ch
chrisha
2016/12/19 20:15:37
Yup, this was silly. Reworked this so that it's ta
| |
| 12 // Notifies the module database of a module event in a remote process. | 16 // Notifies the module database of a module event in a remote process. |
| 13 OnModuleEvent(uint32 process_id, ModuleEvent module_event); | 17 OnModuleEvent(ModuleEvent module_event); |
|
chrisha
2016/12/19 20:15:37
After talking to security folks (wfh@), also rewor
| |
| 14 }; | 18 }; |
| OLD | NEW |