Refactor the setup of Shill*Stubs' default environment.
commit54287eca61baef29d064fc87987b9f7202ef433b
authorpneubeck@chromium.org <pneubeck@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Mon, 23 Sep 2013 18:40:02 +0000 (23 18:40 +0000)
committerpneubeck@chromium.org <pneubeck@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Mon, 23 Sep 2013 18:40:02 +0000 (23 18:40 +0000)
tree8c73a3542e65cb5f202ad6e834553e454b9381c6
parentf6f42607f926da1bb0534e6384260ebb23fce008
Refactor the setup of Shill*Stubs' default environment.

This change untangles some of the Shill*Stubs' implementation from the setup of a default network environment. In particular the setup function has now access to all Shill*Stubs during this setup.

This also correctly adds stub networks with status 'online' to a profile, so that the respective FavoriteState is created.

BUG=126870
R=stevenjb@chromium.org

Review URL: https://codereview.chromium.org/24150004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@224756 0039d316-1c4b-4281-b951-d872f2087c98
13 files changed:
chrome/browser/chromeos/net/network_portal_detector_impl.cc
chromeos/chromeos.gyp
chromeos/dbus/dbus_thread_manager.cc
chromeos/dbus/shill_device_client_stub.cc
chromeos/dbus/shill_manager_client_stub.cc
chromeos/dbus/shill_profile_client_stub.cc
chromeos/dbus/shill_profile_client_stub.h
chromeos/dbus/shill_service_client.h
chromeos/dbus/shill_service_client_stub.cc
chromeos/dbus/shill_service_client_stub.h
chromeos/dbus/shill_stub_helper.cc [new file with mode: 0644]
chromeos/dbus/shill_stub_helper.h [new file with mode: 0644]
chromeos/network/network_configuration_handler_unittest.cc