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

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

Issue 10134028: Reimplement ActivateCellularModem without Libcros (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
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 22 matching lines...) Expand all
33 const VoidCallback& callback)); 33 const VoidCallback& callback));
34 MOCK_METHOD2(Connect, void(const dbus::ObjectPath& service_path, 34 MOCK_METHOD2(Connect, void(const dbus::ObjectPath& service_path,
35 const VoidCallback& callback)); 35 const VoidCallback& callback));
36 MOCK_METHOD2(Disconnect, void(const dbus::ObjectPath& service_path, 36 MOCK_METHOD2(Disconnect, void(const dbus::ObjectPath& service_path,
37 const VoidCallback& callback)); 37 const VoidCallback& callback));
38 MOCK_METHOD2(Remove, void(const dbus::ObjectPath& service_path, 38 MOCK_METHOD2(Remove, void(const dbus::ObjectPath& service_path,
39 const VoidCallback& callback)); 39 const VoidCallback& callback));
40 MOCK_METHOD3(ActivateCellularModem, void(const dbus::ObjectPath& service_path, 40 MOCK_METHOD3(ActivateCellularModem, void(const dbus::ObjectPath& service_path,
41 const std::string& carrier, 41 const std::string& carrier,
42 const VoidCallback& callback)); 42 const VoidCallback& callback));
43 MOCK_METHOD2(CallActivateCellularModemAndBlock,
44 bool(const dbus::ObjectPath& service_path,
45 const std::string& carrier));
43 }; 46 };
44 47
45 } // namespace chromeos 48 } // namespace chromeos
46 49
47 #endif // CHROMEOS_DBUS_MOCK_FLIMFLAM_SERVICE_CLIENT_H_ 50 #endif // CHROMEOS_DBUS_MOCK_FLIMFLAM_SERVICE_CLIENT_H_
OLDNEW
« chromeos/dbus/flimflam_service_client.h ('K') | « chromeos/dbus/flimflam_service_client_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698