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

Unified Diff: components/arc/power/arc_power_bridge.h

Issue 1885683005: Add module suffix in .mojom files for components/arc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase only Created 4 years, 8 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 | « components/arc/net/arc_net_host_impl.cc ('k') | components/arc/power/arc_power_bridge.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/arc/power/arc_power_bridge.h
diff --git a/components/arc/power/arc_power_bridge.h b/components/arc/power/arc_power_bridge.h
index a20db90c1b8b846bb449555944d6fde220ca7768..d82aad664293a37e410527605ab3df16b3f2db4a 100644
--- a/components/arc/power/arc_power_bridge.h
+++ b/components/arc/power/arc_power_bridge.h
@@ -20,7 +20,7 @@ namespace arc {
class ArcPowerBridge : public ArcService,
public ArcBridgeService::Observer,
public ui::DisplayConfigurator::Observer,
- public PowerHost {
+ public mojom::PowerHost {
public:
explicit ArcPowerBridge(ArcBridgeService* bridge_service);
~ArcPowerBridge() override;
@@ -32,20 +32,20 @@ class ArcPowerBridge : public ArcService,
// DisplayConfigurator::Observer overrides.
void OnPowerStateChanged(chromeos::DisplayPowerState power_state) override;
- // PowerHost overrides.
- void OnAcquireDisplayWakeLock(DisplayWakeLockType type) override;
- void OnReleaseDisplayWakeLock(DisplayWakeLockType type) override;
+ // mojom::PowerHost overrides.
+ void OnAcquireDisplayWakeLock(mojom::DisplayWakeLockType type) override;
+ void OnReleaseDisplayWakeLock(mojom::DisplayWakeLockType type) override;
void IsDisplayOn(const IsDisplayOnCallback& callback) override;
private:
void ReleaseAllDisplayWakeLocks();
- mojo::Binding<PowerHost> binding_;
+ mojo::Binding<mojom::PowerHost> binding_;
// Stores a mapping of type -> wake lock ID for all wake locks
// held by ARC.
- std::multimap<DisplayWakeLockType, int> wake_locks_;
+ std::multimap<mojom::DisplayWakeLockType, int> wake_locks_;
DISALLOW_COPY_AND_ASSIGN(ArcPowerBridge);
};
« no previous file with comments | « components/arc/net/arc_net_host_impl.cc ('k') | components/arc/power/arc_power_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698