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

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: More rebasing 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..7096f3da0f189c6115a729017bfcf5b369f5169a 100644
--- a/chrome/browser/chromeos/arc/arc_settings_service.h
+++ b/chrome/browser/chromeos/arc/arc_settings_service.h
@@ -10,20 +10,22 @@
#include "base/macros.h"
#include "components/arc/arc_bridge_service.h"
#include "components/arc/arc_service.h"
+#include "components/arc/instance_holder.h"
namespace arc {
class ArcSettingsServiceImpl;
-class ArcSettingsService : public ArcService,
- public ArcBridgeService::Observer {
+class ArcSettingsService
+ : public ArcService,
+ public InstanceHolder<mojom::IntentHelperInstance>::Observer {
public:
explicit ArcSettingsService(ArcBridgeService* bridge_service);
~ArcSettingsService() override;
- // ArcBridgeService::Observer
- void OnIntentHelperInstanceReady() override;
- void OnIntentHelperInstanceClosed() override;
+ // InstanceHolder<mojom::IntentHelperInstance>::Observer
+ void OnInstanceReady() override;
+ void OnInstanceClosed() override;
private:
std::unique_ptr<ArcSettingsServiceImpl> impl_;
« no previous file with comments | « chrome/browser/chromeos/arc/arc_process_service.cc ('k') | chrome/browser/chromeos/arc/arc_settings_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698