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

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

Issue 10915106: Renaming instances of "flimflam" with "shill", now that we're only (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Upload after merge Created 8 years, 3 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 unified diff | Download patch
OLDNEW
(Empty)
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.
4
5 #ifndef CHROMEOS_DBUS_MOCK_FLIMFLAM_IPCONFIG_CLIENT_H_
6 #define CHROMEOS_DBUS_MOCK_FLIMFLAM_IPCONFIG_CLIENT_H_
7
8 #include "base/values.h"
9 #include "chromeos/dbus/flimflam_ipconfig_client.h"
10 #include "dbus/object_path.h"
11 #include "testing/gmock/include/gmock/gmock.h"
12
13 namespace chromeos {
14
15 class MockFlimflamIPConfigClient : public FlimflamIPConfigClient {
16 public:
17 MockFlimflamIPConfigClient();
18 virtual ~MockFlimflamIPConfigClient();
19
20 MOCK_METHOD2(SetPropertyChangedHandler,
21 void(const dbus::ObjectPath& ipconfig_path,
22 const PropertyChangedHandler& handler));
23 MOCK_METHOD1(ResetPropertyChangedHandler,
24 void(const dbus::ObjectPath& ipconfig_path));
25 MOCK_METHOD2(Refresh, void(const dbus::ObjectPath& ipconfig_path,
26 const VoidDBusMethodCallback& callback));
27 MOCK_METHOD2(GetProperties, void(const dbus::ObjectPath& ipconfig_path,
28 const DictionaryValueCallback& callback));
29 MOCK_METHOD1(CallGetPropertiesAndBlock,
30 base::DictionaryValue*(const dbus::ObjectPath& ipconfig_path));
31 MOCK_METHOD4(SetProperty, void(const dbus::ObjectPath& ipconfig_path,
32 const std::string& name,
33 const base::Value& value,
34 const VoidDBusMethodCallback& callback));
35 MOCK_METHOD3(ClearProperty, void(const dbus::ObjectPath& ipconfig_path,
36 const std::string& name,
37 const VoidDBusMethodCallback& callback));
38 MOCK_METHOD2(Remove, void(const dbus::ObjectPath& ipconfig_path,
39 const VoidDBusMethodCallback& callback));
40 MOCK_METHOD1(CallRemoveAndBlock, bool(const dbus::ObjectPath& ipconfig_path));
41 };
42
43 } // namespace chromeos
44
45 #endif // CHROMEOS_DBUS_MOCK_FLIMFLAM_IPCONFIG_CLIENT_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/mock_flimflam_device_client.cc ('k') | chromeos/dbus/mock_flimflam_ipconfig_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698