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

Side by Side Diff: chromeos/dbus/fake_arc_instance_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 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_DBUS_FAKE_ARC_INSTANCE_CLIENT_H_
6 #define CHROMEOS_DBUS_FAKE_ARC_INSTANCE_CLIENT_H_
7
8 #include "base/basictypes.h"
9 #include "chromeos/chromeos_export.h"
10 #include "chromeos/dbus/arc_instance_client.h"
11 #include "chromeos/dbus/dbus_client.h"
12
13 namespace chromeos {
14
15 // A fake implementation of ArcInstanceClient.
16 class CHROMEOS_EXPORT FakeArcInstanceClient : public ArcInstanceClient {
17 public:
18 FakeArcInstanceClient();
19 ~FakeArcInstanceClient() override;
20
21 // DBusClient overrides:
22 void Init(dbus::Bus* bus) override;
23
24 // ArcInstanceClient overrides:
25 void StartInstance(const std::string& socket_path,
26 const BoolDBusMethodCallback& callback) override;
27 void StopInstance(const VoidDBusMethodCallback& callback) override;
28
29 private:
30 DISALLOW_COPY_AND_ASSIGN(FakeArcInstanceClient);
31 };
32
33 } // namespace chromeos
34
35 #endif // CHROMEOS_DBUS_FAKE_ARC_INSTANCE_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698