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

Unified Diff: chromeos/dbus/fake_shill_ipconfig_client.h

Issue 267433005: Provide IPConfigs in networkingPrivate.GetProperties (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase + Elim DHCP ONC types Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chromeos/dbus/fake_shill_ipconfig_client.cc » ('j') | chromeos/network/device_state.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/fake_shill_ipconfig_client.h
diff --git a/chromeos/dbus/fake_shill_ipconfig_client.h b/chromeos/dbus/fake_shill_ipconfig_client.h
index ec5dee20158997f7600fe936d48cbf6ce9ee110a..ff25246c704b2be0f1d23fa6cd98151e749c2249 100644
--- a/chromeos/dbus/fake_shill_ipconfig_client.h
+++ b/chromeos/dbus/fake_shill_ipconfig_client.h
@@ -14,7 +14,9 @@
namespace chromeos {
// A fake implementation of ShillIPConfigClient.
-class CHROMEOS_EXPORT FakeShillIPConfigClient : public ShillIPConfigClient {
+class CHROMEOS_EXPORT FakeShillIPConfigClient
+ : public ShillIPConfigClient,
+ public ShillIPConfigClient::TestInterface {
public:
FakeShillIPConfigClient();
virtual ~FakeShillIPConfigClient();
@@ -40,6 +42,11 @@ class CHROMEOS_EXPORT FakeShillIPConfigClient : public ShillIPConfigClient {
const VoidDBusMethodCallback& callback) OVERRIDE;
virtual void Remove(const dbus::ObjectPath& ipconfig_path,
const VoidDBusMethodCallback& callback) OVERRIDE;
+ virtual ShillIPConfigClient::TestInterface* GetTestInterface() OVERRIDE;
+
+ // ShillIPConfigClient::TestInterface overrides.
+ virtual void AddIPConfig(const std::string& ip_config_path,
+ const base::DictionaryValue& properties) OVERRIDE;
private:
// Runs callback with |values|.
« no previous file with comments | « no previous file | chromeos/dbus/fake_shill_ipconfig_client.cc » ('j') | chromeos/network/device_state.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698