summaryrefslogtreecommitdiffstats
path: root/chromeos/dbus/shill_manager_client.h
diff options
context:
space:
mode:
authorpneubeck@chromium.org <pneubeck@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-07 21:08:13 +0000
committerpneubeck@chromium.org <pneubeck@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-07 21:08:13 +0000
commit38c960262439b3618bf1169fd50a3cd768cadc32 (patch)
treeee3a28e95b2eaafc93d38983163f254e659872d3 /chromeos/dbus/shill_manager_client.h
parentba203410be684238da645b7f8be15ae2541dba04 (diff)
downloadchromium_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_manager_client.h')
-rw-r--r--chromeos/dbus/shill_manager_client.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/chromeos/dbus/shill_manager_client.h b/chromeos/dbus/shill_manager_client.h
index f1b4d8c..231da2c 100644
--- a/chromeos/dbus/shill_manager_client.h
+++ b/chromeos/dbus/shill_manager_client.h
@@ -56,6 +56,12 @@ class CHROMEOS_EXPORT ShillManagerClient {
virtual void AddGeoNetwork(const std::string& technology,
const base::DictionaryValue& network) = 0;
+ // Does not create an actual profile in the ProfileClient but update the
+ // profiles list and sends a notification to observers. This should only be
+ // called by the ProfileStub. In all other cases, use
+ // ShillProfileClient::TestInterface::AddProfile.
+ virtual void AddProfile(const std::string& profile_path) = 0;
+
// Used to reset all properties; does not notify observers.
virtual void ClearProperties() = 0;