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

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

Issue 1413153007: arc-app-launcher: Minimal support for ARC app launcher. (Closed) Base URL: https://chromium.googlesource.com/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
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROMEOS_FAKE_ARC_BRIDGE_CLIENT_CLIENT_H_ 5 #ifndef CHROMEOS_DBUS_FAKE_ARC_BRIDGE_CLIENT_H_
6 #define CHROMEOS_FAKE_ARC_BRIDGE_CLIENT_CLIENT_H_ 6 #define CHROMEOS_DBUS_FAKE_ARC_BRIDGE_CLIENT_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "chromeos/chromeos_export.h" 9 #include "chromeos/chromeos_export.h"
10 #include "chromeos/dbus/arc_bridge_client.h" 10 #include "chromeos/dbus/arc_bridge_client.h"
11 #include "chromeos/dbus/dbus_client.h" 11 #include "chromeos/dbus/dbus_client.h"
12 12
13 namespace chromeos { 13 namespace chromeos {
14 14
15 // A fake implementation of ArcBridgeClient. 15 // A fake implementation of ArcBridgeClient.
16 class CHROMEOS_EXPORT FakeArcBridgeClient : public ArcBridgeClient { 16 class CHROMEOS_EXPORT FakeArcBridgeClient : public ArcBridgeClient {
17 public: 17 public:
18 FakeArcBridgeClient(); 18 FakeArcBridgeClient();
19 ~FakeArcBridgeClient() override; 19 ~FakeArcBridgeClient() override;
20 20
21 // DBusClient overrides: 21 // DBusClient overrides:
22 void Init(dbus::Bus* bus) override; 22 void Init(dbus::Bus* bus) override;
23 23
24 // ArcBridgeClient overrides: 24 // ArcBridgeClient overrides:
25 void Ping(const VoidDBusMethodCallback& callback) override; 25 void Ping(const VoidDBusMethodCallback& callback) override;
26 void Refresh() override;
27 void LaunchApp(const std::string& package,
28 const std::string& activity) override;
29 void AddAppObserver(AppObserver* observer) override;
30 void RemoveAppObserver(AppObserver* observer) override;
26 31
27 private: 32 private:
28 DISALLOW_COPY_AND_ASSIGN(FakeArcBridgeClient); 33 DISALLOW_COPY_AND_ASSIGN(FakeArcBridgeClient);
29 }; 34 };
30 35
31 } // namespace chromeos 36 } // namespace chromeos
32 37
33 #endif // CHROMEOS_FAKE_ARC_BRIDGE_CLIENT_CLIENT_H_ 38 #endif // CHROMEOS_DBUS_FAKE_ARC_BRIDGE_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698