diff options
author | pneubeck@chromium.org <pneubeck@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-07 21:08:13 +0000 |
---|---|---|
committer | pneubeck@chromium.org <pneubeck@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-07 21:08:13 +0000 |
commit | 38c960262439b3618bf1169fd50a3cd768cadc32 (patch) | |
tree | ee3a28e95b2eaafc93d38983163f254e659872d3 /chromeos/dbus/shill_profile_client.h | |
parent | ba203410be684238da645b7f8be15ae2541dba04 (diff) | |
download | chromium_src-38c960262439b3618bf1169fd50a3cd768cadc32.zip chromium_src-38c960262439b3618bf1169fd50a3cd768cadc32.tar.gz chromium_src-38c960262439b3618bf1169fd50a3cd768cadc32.tar.bz2 |
Adding a NetworkProfileHandler used by ManagedNetworkConfigurationHandler.
This handler tracks Shill's profiles.
Currently only the ManagedNetworkConfigurationHandler is making use of this
handler but it is also required for upcoming changes to proxy handling in ChromeOS.
In the ONC validator only an LOG(ERROR) was fixed to LOG(WARNING) if the flag error_on_missing_field=false.
BUG=157696
TEST=managed_network_configuration_handler_unittest.cc, networking_private_apitest.cc
Review URL: https://chromiumcodereview.appspot.com/13957012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198798 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chromeos/dbus/shill_profile_client.h')
-rw-r--r-- | chromeos/dbus/shill_profile_client.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chromeos/dbus/shill_profile_client.h b/chromeos/dbus/shill_profile_client.h index 4d653ff..9c6c2a7 100644 --- a/chromeos/dbus/shill_profile_client.h +++ b/chromeos/dbus/shill_profile_client.h @@ -45,7 +45,8 @@ class CHROMEOS_EXPORT ShillProfileClient { // GetTestInterface(), only implemented in the stub implementation. class TestInterface { public: - virtual void AddProfile(const std::string& profile_path) = 0; + virtual void AddProfile(const std::string& profile_path, + const std::string& userhash) = 0; virtual void AddEntry(const std::string& profile_path, const std::string& entry_path, const base::DictionaryValue& properties) = 0; @@ -60,7 +61,7 @@ class CHROMEOS_EXPORT ShillProfileClient { // Factory function, creates a new instance which is owned by the caller. // For normal usage, access the singleton via DBusThreadManager::Get(). static ShillProfileClient* Create(DBusClientImplementationType type, - dbus::Bus* bus); + dbus::Bus* bus); // Adds a property changed |observer| for the profile at |profile_path|. virtual void AddPropertyChangedObserver( |