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

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

Issue 10170020: Rework chromeos::FlimflamDevice/ServiceClient with CallMethodWithErrorCallback (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « chromeos/dbus/mock_flimflam_device_client.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 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_DBUS_MOCK_FLIMFLAM_SERVICE_CLIENT_H_ 5 #ifndef CHROMEOS_DBUS_MOCK_FLIMFLAM_SERVICE_CLIENT_H_
6 #define CHROMEOS_DBUS_MOCK_FLIMFLAM_SERVICE_CLIENT_H_ 6 #define CHROMEOS_DBUS_MOCK_FLIMFLAM_SERVICE_CLIENT_H_
7 7
8 #include "base/values.h" 8 #include "base/values.h"
9 #include "chromeos/dbus/flimflam_service_client.h" 9 #include "chromeos/dbus/flimflam_service_client.h"
10 #include "dbus/object_path.h" 10 #include "dbus/object_path.h"
(...skipping 13 matching lines...) Expand all
24 void(const dbus::ObjectPath& service_path)); 24 void(const dbus::ObjectPath& service_path));
25 MOCK_METHOD2(GetProperties, void(const dbus::ObjectPath& service_path, 25 MOCK_METHOD2(GetProperties, void(const dbus::ObjectPath& service_path,
26 const DictionaryValueCallback& callback)); 26 const DictionaryValueCallback& callback));
27 MOCK_METHOD4(SetProperty, void(const dbus::ObjectPath& service_path, 27 MOCK_METHOD4(SetProperty, void(const dbus::ObjectPath& service_path,
28 const std::string& name, 28 const std::string& name,
29 const base::Value& value, 29 const base::Value& value,
30 const VoidCallback& callback)); 30 const VoidCallback& callback));
31 MOCK_METHOD3(ClearProperty, void(const dbus::ObjectPath& service_path, 31 MOCK_METHOD3(ClearProperty, void(const dbus::ObjectPath& service_path,
32 const std::string& name, 32 const std::string& name,
33 const VoidCallback& callback)); 33 const VoidCallback& callback));
34 MOCK_METHOD2(Connect, void(const dbus::ObjectPath& service_path, 34 MOCK_METHOD3(Connect, void(const dbus::ObjectPath& service_path,
35 const VoidCallback& callback)); 35 const base::Closure& callback,
36 const ErrorCallback& error_callback));
36 MOCK_METHOD2(Disconnect, void(const dbus::ObjectPath& service_path, 37 MOCK_METHOD2(Disconnect, void(const dbus::ObjectPath& service_path,
37 const VoidCallback& callback)); 38 const VoidCallback& callback));
38 MOCK_METHOD2(Remove, void(const dbus::ObjectPath& service_path, 39 MOCK_METHOD2(Remove, void(const dbus::ObjectPath& service_path,
39 const VoidCallback& callback)); 40 const VoidCallback& callback));
40 MOCK_METHOD3(ActivateCellularModem, void(const dbus::ObjectPath& service_path, 41 MOCK_METHOD3(ActivateCellularModem, void(const dbus::ObjectPath& service_path,
41 const std::string& carrier, 42 const std::string& carrier,
42 const VoidCallback& callback)); 43 const VoidCallback& callback));
43 }; 44 };
44 45
45 } // namespace chromeos 46 } // namespace chromeos
46 47
47 #endif // CHROMEOS_DBUS_MOCK_FLIMFLAM_SERVICE_CLIENT_H_ 48 #endif // CHROMEOS_DBUS_MOCK_FLIMFLAM_SERVICE_CLIENT_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/mock_flimflam_device_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698