vpn_extension_observer.mojom 813 B

12345678910111213141516171819
  1. // Copyright 2022 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. module crosapi.mojom;
  5. // Receives updates from Lacros when Vpn extensions get loaded or unloaded.
  6. // Next version: 1
  7. // Next method id: 2
  8. [Stable, Uuid="e35782e4-76b4-4de1-b808-bb0fec852faa"]
  9. interface VpnExtensionObserver {
  10. // Invoked when extension with |extension_id| and |extension_name| is loaded.
  11. // See ExtensionRegistryObserver::OnExtensionLoaded(...) for details.
  12. OnLacrosVpnExtensionLoaded@0(string extension_id, string extension_name);
  13. // Invoked when extension with |extension_id| is unloaded.
  14. // See ExtensionRegistryObserver::OnExtensionUnloaded(...) for details.
  15. OnLacrosVpnExtensionUnloaded@1(string extension_id);
  16. };