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

Unified Diff: components/arc/clipboard/arc_clipboard_bridge.h

Issue 1596663002: arc-bridge: Introduce the ArcService class (Closed) Base URL: https://chromium.googlesource.com/a/chromium/src.git@master
Patch Set: Rebased + protected ArcService direct instantiation Created 4 years, 11 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/auth/arc_auth_service.h ('k') | components/arc/clipboard/arc_clipboard_bridge.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/arc/clipboard/arc_clipboard_bridge.h
diff --git a/components/arc/clipboard/arc_clipboard_bridge.h b/components/arc/clipboard/arc_clipboard_bridge.h
index d458f63f07d92ba4f68266dcd220857fb6128b64..13929933872e1268906e26c20cd904e5c3e290b5 100644
--- a/components/arc/clipboard/arc_clipboard_bridge.h
+++ b/components/arc/clipboard/arc_clipboard_bridge.h
@@ -9,11 +9,13 @@
#include "base/macros.h"
#include "components/arc/arc_bridge_service.h"
+#include "components/arc/arc_service.h"
#include "mojo/public/cpp/bindings/binding.h"
namespace arc {
-class ArcClipboardBridge : public ArcBridgeService::Observer,
+class ArcClipboardBridge : public ArcService,
+ public ArcBridgeService::Observer,
public ClipboardHost {
public:
explicit ArcClipboardBridge(ArcBridgeService* bridge_service);
@@ -29,8 +31,6 @@ class ArcClipboardBridge : public ArcBridgeService::Observer,
private:
bool CalledOnValidThread();
- ArcBridgeService* bridge_service_;
-
mojo::Binding<ClipboardHost> binding_;
base::ThreadChecker thread_checker_;
« no previous file with comments | « components/arc/auth/arc_auth_service.h ('k') | components/arc/clipboard/arc_clipboard_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698