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

Unified Diff: chromeos/network/network_configuration_handler.h

Issue 708563005: Use setProperties for IP Config. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@issue_430113_internet_options_1
Patch Set: Fix win/mac test expectations Created 5 years, 11 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
Index: chromeos/network/network_configuration_handler.h
diff --git a/chromeos/network/network_configuration_handler.h b/chromeos/network/network_configuration_handler.h
index 7465876b2a198f53883b63d6a894edd3b037c5f8..bac3454719410132e4beb42ce8180f8a29f7d881 100644
--- a/chromeos/network/network_configuration_handler.h
+++ b/chromeos/network/network_configuration_handler.h
@@ -121,7 +121,8 @@ class CHROMEOS_EXPORT NetworkConfigurationHandler
// Construct and initialize an instance for testing.
static NetworkConfigurationHandler* InitializeForTest(
- NetworkStateHandler* network_state_handler);
+ NetworkStateHandler* network_state_handler,
+ NetworkDeviceHandler* network_device_handler);
protected:
friend class ClientCertResolverTest;
@@ -131,7 +132,8 @@ class CHROMEOS_EXPORT NetworkConfigurationHandler
class ProfileEntryDeleter;
NetworkConfigurationHandler();
- void Init(NetworkStateHandler* network_state_handler);
+ void Init(NetworkStateHandler* network_state_handler,
+ NetworkDeviceHandler* network_device_handler);
void RunCreateNetworkCallback(
const std::string& profile_path,
@@ -182,8 +184,12 @@ class CHROMEOS_EXPORT NetworkConfigurationHandler
const std::string& dbus_error_name,
const std::string& dbus_error_message);
- // Unowned associated NetworkStateHandler* (global or test instance).
+ // Signals the device handler to request an IP config refresh.
+ void RequestRefreshIPConfigs(const std::string& service_path);
+
+ // Unowned associated Network*Handlers (global or test instance).
NetworkStateHandler* network_state_handler_;
+ NetworkDeviceHandler* network_device_handler_;
// Map of in-progress deleter instances. Owned by this class.
std::map<std::string, ProfileEntryDeleter*> profile_entry_deleters_;
« no previous file with comments | « chromeos/network/managed_network_configuration_handler_unittest.cc ('k') | chromeos/network/network_configuration_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698