Remove unused android_experimental.
[chromium-blink-merge.git] / chromeos / dbus / mock_shill_service_client.h
blob6a481fa63833e795048d7e09db46c0156b78c66e
1 // Copyright (c) 2012 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.
5 #ifndef CHROMEOS_DBUS_MOCK_SHILL_SERVICE_CLIENT_H_
6 #define CHROMEOS_DBUS_MOCK_SHILL_SERVICE_CLIENT_H_
8 #include "base/values.h"
9 #include "chromeos/dbus/shill_property_changed_observer.h"
10 #include "chromeos/dbus/shill_service_client.h"
11 #include "dbus/object_path.h"
12 #include "testing/gmock/include/gmock/gmock.h"
14 namespace chromeos {
16 class MockShillServiceClient : public ShillServiceClient {
17 public:
18 MockShillServiceClient();
19 virtual ~MockShillServiceClient();
21 MOCK_METHOD1(Init, void(dbus::Bus* dbus));
22 MOCK_METHOD2(AddPropertyChangedObserver,
23 void(const dbus::ObjectPath& service_path,
24 ShillPropertyChangedObserver* observer));
25 MOCK_METHOD2(RemovePropertyChangedObserver,
26 void(const dbus::ObjectPath& service_path,
27 ShillPropertyChangedObserver* observer));
28 MOCK_METHOD2(GetProperties, void(const dbus::ObjectPath& service_path,
29 const DictionaryValueCallback& callback));
30 MOCK_METHOD5(SetProperty, void(const dbus::ObjectPath& service_path,
31 const std::string& name,
32 const base::Value& value,
33 const base::Closure& callback,
34 const ErrorCallback& error_callback));
35 MOCK_METHOD4(SetProperties, void(const dbus::ObjectPath& service_path,
36 const base::DictionaryValue& properties,
37 const base::Closure& callback,
38 const ErrorCallback& error_callback));
39 MOCK_METHOD4(ClearProperty, void(const dbus::ObjectPath& service_path,
40 const std::string& name,
41 const base::Closure& callback,
42 const ErrorCallback& error_callback));
43 MOCK_METHOD4(ClearProperties, void(const dbus::ObjectPath& service_path,
44 const std::vector<std::string>& names,
45 const ListValueCallback& callback,
46 const ErrorCallback& error_callback));
47 MOCK_METHOD3(Connect, void(const dbus::ObjectPath& service_path,
48 const base::Closure& callback,
49 const ErrorCallback& error_callback));
50 MOCK_METHOD3(Disconnect, void(const dbus::ObjectPath& service_path,
51 const base::Closure& callback,
52 const ErrorCallback& error_callback));
53 MOCK_METHOD3(Remove, void(const dbus::ObjectPath& service_path,
54 const base::Closure& callback,
55 const ErrorCallback& error_callback));
56 MOCK_METHOD4(ActivateCellularModem,
57 void(const dbus::ObjectPath& service_path,
58 const std::string& carrier,
59 const base::Closure& callback,
60 const ErrorCallback& error_callback));
61 MOCK_METHOD3(CompleteCellularActivation,
62 void(const dbus::ObjectPath& service_path,
63 const base::Closure& callback,
64 const ErrorCallback& error_callback));
65 MOCK_METHOD2(GetLoadableProfileEntries,
66 void(const dbus::ObjectPath& service_path,
67 const DictionaryValueCallback& callback));
68 MOCK_METHOD0(GetTestInterface, TestInterface*());
71 } // namespace chromeos
73 #endif // CHROMEOS_DBUS_MOCK_SHILL_SERVICE_CLIENT_H_