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

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

Issue 11365022: Add TestInterface methods for adding shill stub devices and services (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Yet another clang fix Created 8 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 | 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_SHILL_SERVICE_CLIENT_H_ 5 #ifndef CHROMEOS_DBUS_MOCK_SHILL_SERVICE_CLIENT_H_
6 #define CHROMEOS_DBUS_MOCK_SHILL_SERVICE_CLIENT_H_ 6 #define CHROMEOS_DBUS_MOCK_SHILL_SERVICE_CLIENT_H_
7 7
8 #include "base/values.h" 8 #include "base/values.h"
9 #include "chromeos/dbus/shill_property_changed_observer.h" 9 #include "chromeos/dbus/shill_property_changed_observer.h"
10 #include "chromeos/dbus/shill_service_client.h" 10 #include "chromeos/dbus/shill_service_client.h"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 const base::Closure& callback, 45 const base::Closure& callback,
46 const ErrorCallback& error_callback)); 46 const ErrorCallback& error_callback));
47 MOCK_METHOD4(ActivateCellularModem, 47 MOCK_METHOD4(ActivateCellularModem,
48 void(const dbus::ObjectPath& service_path, 48 void(const dbus::ObjectPath& service_path,
49 const std::string& carrier, 49 const std::string& carrier,
50 const base::Closure& callback, 50 const base::Closure& callback,
51 const ErrorCallback& error_callback)); 51 const ErrorCallback& error_callback));
52 MOCK_METHOD2(CallActivateCellularModemAndBlock, 52 MOCK_METHOD2(CallActivateCellularModemAndBlock,
53 bool(const dbus::ObjectPath& service_path, 53 bool(const dbus::ObjectPath& service_path,
54 const std::string& carrier)); 54 const std::string& carrier));
55 MOCK_METHOD0(GetTestInterface, TestInterface*());
55 }; 56 };
56 57
57 } // namespace chromeos 58 } // namespace chromeos
58 59
59 #endif // CHROMEOS_DBUS_MOCK_SHILL_SERVICE_CLIENT_H_ 60 #endif // CHROMEOS_DBUS_MOCK_SHILL_SERVICE_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698