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

Unified Diff: chromeos/dbus/mock_shill_manager_client.h

Issue 10949030: This converts the Shill clients to allow propagation of shill errors (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: review changes 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 side-by-side diff with in-line comments
Download patch
Index: chromeos/dbus/mock_shill_manager_client.h
diff --git a/chromeos/dbus/mock_shill_manager_client.h b/chromeos/dbus/mock_shill_manager_client.h
index d38dd0324001d16be886f38086f54b1bb352e9c9..089676b9c8c48a749de143e1f3fd406087a9f386 100644
--- a/chromeos/dbus/mock_shill_manager_client.h
+++ b/chromeos/dbus/mock_shill_manager_client.h
@@ -21,19 +21,26 @@ class MockShillManagerClient : public ShillManagerClient {
MOCK_METHOD0(ResetPropertyChangedHandler, void());
MOCK_METHOD1(GetProperties, void(const DictionaryValueCallback& callback));
MOCK_METHOD0(CallGetPropertiesAndBlock, base::DictionaryValue*());
- MOCK_METHOD3(SetProperty, void(const std::string& name,
+ MOCK_METHOD4(SetProperty, void(const std::string& name,
const base::Value& value,
- const VoidDBusMethodCallback& callback));
- MOCK_METHOD2(RequestScan, void(const std::string& type,
- const VoidDBusMethodCallback& callback));
- MOCK_METHOD2(EnableTechnology, void(const std::string& type,
- const VoidDBusMethodCallback& callback));
- MOCK_METHOD2(DisableTechnology, void(const std::string& type,
- const VoidDBusMethodCallback& callback));
- MOCK_METHOD2(ConfigureService, void(const base::DictionaryValue& properties,
- const VoidDBusMethodCallback& callback));
- MOCK_METHOD2(GetService, void(const base::DictionaryValue& properties,
- const ObjectPathDBusMethodCallback& callback));
+ const base::Closure& callback,
+ const ErrorCallback& error_callback));
+ MOCK_METHOD3(RequestScan, void(const std::string& type,
+ const base::Closure& callback,
+ const ErrorCallback& error_callback));
+ MOCK_METHOD3(EnableTechnology, void(const std::string& type,
+ const base::Closure& callback,
+ const ErrorCallback& error_callback));
+ MOCK_METHOD3(DisableTechnology, void(const std::string& type,
+ const base::Closure& callback,
+ const ErrorCallback& error_callback));
+ MOCK_METHOD3(ConfigureService, void(const base::DictionaryValue& properties,
+ const base::Closure& callback,
+ const ErrorCallback& error_callback));
+ MOCK_METHOD3(GetService, void(
hashimoto 2012/09/26 00:17:34 nit: No need to newline?
Greg Spencer (Chromium) 2012/09/26 23:36:33 Done.
+ const base::DictionaryValue& properties,
+ const ObjectPathCallback& callback,
+ const ErrorCallback& error_callback));
};
} // namespace chromeos

Powered by Google App Engine
This is Rietveld 408576698