Convert //extensions/power_api to be client of wake lock interface.
Wake Lock is a Mojo interface that wraps PowerSaveBlocker. As part of the
creation of standalone Device Service, all browser-side clients of
PowerSaveBlocker should be converted to be clients of the Wake Lock Mojo
Adds the "ChangeType()" in WakeLock mojo interfaces to meet the scenario
of PowerAPI usage. Unittest of wake lock is modified accordingly.
Reviewed-by: Tom Sepez <email@example.com>
Reviewed-by: John Abd-El-Malek <firstname.lastname@example.org>
Reviewed-by: Dan Erat <email@example.com>
Reviewed-by: Kentaro Hara <firstname.lastname@example.org>
Reviewed-by: Colin Blundell <email@example.com>
Commit-Queue: Ke He <firstname.lastname@example.org>
20 files changed