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

Side by Side Diff: chromeos/dbus/arc_bridge_client.h

Issue 1421023002: Remove the ARC Bridge Service (Closed) Base URL: https://chromium.googlesource.com/a/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright (c) 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROMEOS_ARC_BRIDGE_CLIENT_H_
6 #define CHROMEOS_ARC_BRIDGE_CLIENT_H_
7
8 #include "base/basictypes.h"
9 #include "chromeos/chromeos_export.h"
10 #include "chromeos/dbus/dbus_client.h"
11 #include "chromeos/dbus/dbus_method_call_status.h"
12
13 namespace dbus {
14 class ObjectPath;
15 }
16
17 namespace chromeos {
18
19 // Client for the Arc Bridge Service
20 class CHROMEOS_EXPORT ArcBridgeClient : public DBusClient {
21 public:
22 ~ArcBridgeClient() override;
23
24 // Factory function, creates a new instance and returns ownership.
25 // For normal usage, access the singleton via DBusThreadManager::Get().
26 static ArcBridgeClient* Create();
27
28 // Calls Ping method. |callback| is called after the method call succeeds.
29 virtual void Ping(const VoidDBusMethodCallback& callback) = 0;
30
31 protected:
32 // Create() should be used instead.
33 ArcBridgeClient();
34
35 private:
36 DISALLOW_COPY_AND_ASSIGN(ArcBridgeClient);
37 };
38
39 } // namespace chromeos
40
41 #endif // CHROMEOS_ARC_BRIDGE_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698