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

Side by Side Diff: chromeos/dbus/mock_shill_manager_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_MANAGER_CLIENT_H_ 5 #ifndef CHROMEOS_DBUS_MOCK_SHILL_MANAGER_CLIENT_H_
6 #define CHROMEOS_DBUS_MOCK_SHILL_MANAGER_CLIENT_H_ 6 #define CHROMEOS_DBUS_MOCK_SHILL_MANAGER_CLIENT_H_
7 7
8 #include "base/values.h" 8 #include "base/values.h"
9 #include "chromeos/dbus/shill_manager_client.h" 9 #include "chromeos/dbus/shill_manager_client.h"
10 #include "chromeos/dbus/shill_property_changed_observer.h" 10 #include "chromeos/dbus/shill_property_changed_observer.h"
(...skipping 24 matching lines...) Expand all
35 const ErrorCallback& error_callback)); 35 const ErrorCallback& error_callback));
36 MOCK_METHOD3(DisableTechnology, void(const std::string& type, 36 MOCK_METHOD3(DisableTechnology, void(const std::string& type,
37 const base::Closure& callback, 37 const base::Closure& callback,
38 const ErrorCallback& error_callback)); 38 const ErrorCallback& error_callback));
39 MOCK_METHOD3(ConfigureService, void(const base::DictionaryValue& properties, 39 MOCK_METHOD3(ConfigureService, void(const base::DictionaryValue& properties,
40 const base::Closure& callback, 40 const base::Closure& callback,
41 const ErrorCallback& error_callback)); 41 const ErrorCallback& error_callback));
42 MOCK_METHOD3(GetService, void(const base::DictionaryValue& properties, 42 MOCK_METHOD3(GetService, void(const base::DictionaryValue& properties,
43 const ObjectPathCallback& callback, 43 const ObjectPathCallback& callback,
44 const ErrorCallback& error_callback)); 44 const ErrorCallback& error_callback));
45 MOCK_METHOD0(GetTestInterface, TestInterface*());
45 }; 46 };
46 47
47 } // namespace chromeos 48 } // namespace chromeos
48 49
49 #endif // CHROMEOS_DBUS_MOCK_SHILL_MANAGER_CLIENT_H_ 50 #endif // CHROMEOS_DBUS_MOCK_SHILL_MANAGER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698