summaryrefslogtreecommitdiffstats
path: root/chromeos
diff options
context:
space:
mode:
authorpneubeck@chromium.org <pneubeck@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-22 08:00:41 +0000
committerpneubeck@chromium.org <pneubeck@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-22 08:00:41 +0000
commitd52bb422f2486e35a99401243dd510a5e812bd29 (patch)
tree9ff3be9276929989041e14c881bd8a5114957e48 /chromeos
parent4694040c9769a4eb75fad9c775bcee12287379ff (diff)
downloadchromium_src-d52bb422f2486e35a99401243dd510a5e812bd29.zip
chromium_src-d52bb422f2486e35a99401243dd510a5e812bd29.tar.gz
chromium_src-d52bb422f2486e35a99401243dd510a5e812bd29.tar.bz2
Extend networkingPrivate api_test to use NetworkConfigurationUpdater.
This removes the api test's dependency on ManagedNetworkConfigurationHandler for policy application and instead uses the policy provider. Thus, this improves the testing of policy integration. BUG=NONE Review URL: https://chromiumcodereview.appspot.com/14057021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195461 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chromeos')
-rw-r--r--chromeos/dbus/shill_profile_client_stub.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/chromeos/dbus/shill_profile_client_stub.cc b/chromeos/dbus/shill_profile_client_stub.cc
index e249cd5..9de1a19 100644
--- a/chromeos/dbus/shill_profile_client_stub.cc
+++ b/chromeos/dbus/shill_profile_client_stub.cc
@@ -22,6 +22,8 @@ namespace chromeos {
namespace {
+const char kSharedProfilePath[] = "/profile/default";
+
void PassEmptyDictionary(
const ShillProfileClient::DictionaryValueCallbackWithoutStatus& callback) {
base::DictionaryValue dictionary;
@@ -52,6 +54,7 @@ base::DictionaryValue* GetOrCreateDictionary(const std::string& key,
} // namespace
ShillProfileClientStub::ShillProfileClientStub() {
+ AddProfile(kSharedProfilePath);
}
ShillProfileClientStub::~ShillProfileClientStub() {