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

Unified Diff: chrome/browser/chromeos/arc/arc_settings_service.h

Issue 2133503002: arc: Revamp the ArcBridgeService interface (Closed) Base URL: https://chromium.googlesource.com/a/chromium/src.git@master
Patch Set: Fix ui_arc_unittests Created 4 years, 5 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
Index: chrome/browser/chromeos/arc/arc_settings_service.h
diff --git a/chrome/browser/chromeos/arc/arc_settings_service.h b/chrome/browser/chromeos/arc/arc_settings_service.h
index d1cca0d69bf4fe032e088c3816386698ce16b86a..b520bfa56dc0db9605753345e756e3c04d4e9bed 100644
--- a/chrome/browser/chromeos/arc/arc_settings_service.h
+++ b/chrome/browser/chromeos/arc/arc_settings_service.h
@@ -15,15 +15,16 @@ namespace arc {
class ArcSettingsServiceImpl;
-class ArcSettingsService : public ArcService,
- public ArcBridgeService::Observer {
+class ArcSettingsService
+ : public ArcService,
+ public ArcBridgeService::InstanceObserver<mojom::IntentHelperInstance> {
public:
explicit ArcSettingsService(ArcBridgeService* bridge_service);
~ArcSettingsService() override;
- // ArcBridgeService::Observer
- void OnIntentHelperInstanceReady() override;
- void OnIntentHelperInstanceClosed() override;
+ // ArcBridgeService::InstanceObserver<mojom::IntentHelperInstance>
+ void OnInstanceReady(mojom::IntentHelperInstance*, uint32_t version) override;
+ void OnInstanceClosed(mojom::IntentHelperInstance*) override;
private:
std::unique_ptr<ArcSettingsServiceImpl> impl_;

Powered by Google App Engine
This is Rietveld 408576698