gecko-dev/hal
Andrew McCreight 285012cef5 Bug 1864522 - Remove unused functionality from ModifyWakeLock. r=gsvelto
- WakeLock is never registered as an observer, so remove its nsIObserver
  interface to eliminate a use of mContentParentID.

- mContentParentID is always CONTENT_PROCESS_ID_UNKNOWN, so propagate that
  through to hal::ModifyWakeLock().

- Compute the child ID on the receiver side of the ModifyWakeLock message,
  instead of passing it in the message. We always use the child ID of the
  ContentChild.

- Rename the old ModifyWakeLock into ModifyWakeLockWithChildID. Rename
  aProcessID to aChildID, because it is not a PID.

- Add a new hal::ModifyWakeLock for the parent process that uses
  CONTENT_PROCESS_ID_MAIN as the child id. This method is not actually called
  right now.

Differential Revision: https://phabricator.services.mozilla.com/D193577
2023-11-16 00:14:10 +00:00
..
android Bug 1858843 - Remove pre-Lollipop code from C/C++. r=geckoview-reviewers,media-playback-reviewers,padenot,owlish,jnicol 2023-11-09 17:39:59 +00:00
cocoa Bug 1851529 - Fixup comments in hal/cocoa/smslib.mm r=andi 2023-09-07 04:50:46 +00:00
fallback Bug 1850573 - Add HeterogeneousCpuInfo to HAL with Android implementation. r=geckoview-reviewers,owlish 2023-09-26 12:55:37 +00:00
linux Bug 1859865 [Linux] Don't throw error message if DBus operation is canceled r=emilio 2023-11-06 10:39:10 +00:00
sandbox Bug 1864522 - Remove unused functionality from ModifyWakeLock. r=gsvelto 2023-11-16 00:14:10 +00:00
windows Bug 1852806 - Remove macros for older Windows SDK from hal/. r=gsvelto 2023-09-15 03:19:27 +00:00
Hal.cpp Bug 1864522 - Remove unused functionality from ModifyWakeLock. r=gsvelto 2023-11-16 00:14:10 +00:00
Hal.h Bug 1864522 - Remove unused functionality from ModifyWakeLock. r=gsvelto 2023-11-16 00:14:10 +00:00
HalBatteryInformation.h
HalIPCUtils.h
HalImpl.h
HalInternal.h
HalLog.h
HalNetworkInformation.h
HalSandbox.h
HalScreenConfiguration.h Bug 1812938 - Part 1. GetWidgetScreen returns Screen instead of nsIScreen. r=emilio,geckoview-reviewers,owlish 2023-02-06 04:51:26 +00:00
HalSensor.h
HalTypes.h Bug 1850573 - Add HeterogeneousCpuInfo to HAL with Android implementation. r=geckoview-reviewers,owlish 2023-09-26 12:55:37 +00:00
HalWakeLock.cpp Bug 1864522 - Remove unused functionality from ModifyWakeLock. r=gsvelto 2023-11-16 00:14:10 +00:00
HalWakeLock.h Bug 1864522 - Remove unused functionality from ModifyWakeLock. r=gsvelto 2023-11-16 00:14:10 +00:00
HalWakeLockInformation.h
HalWakeLockInternal.h
WindowIdentifier.cpp
WindowIdentifier.h
moz.build Bug 1858153 [Linux] Migrate UPowerClient from dbus-glib to GDBus r=emilio 2023-10-12 11:16:25 +00:00