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

Unified Diff: chromeos/network/network_state_handler.h

Issue 23684042: Eliminate NetworkManagerChanged (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 3 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_state_handler.h
diff --git a/chromeos/network/network_state_handler.h b/chromeos/network/network_state_handler.h
index 7f49c1813d73cff22cc89238864869c9839e7aa1..14c12a40a4c40d3f1f01534ff0e84b3e36291ab5 100644
--- a/chromeos/network/network_state_handler.h
+++ b/chromeos/network/network_state_handler.h
@@ -200,7 +200,9 @@ class CHROMEOS_EXPORT NetworkStateHandler
// Set the list of devices on which portal check is enabled.
void SetCheckPortalList(const std::string& check_portal_list);
- const std::string& check_portal_list() const { return check_portal_list_; }
+ const std::string& GetCheckPortalListForTest() const {
+ return check_portal_list_;
+ }
// Generates a DictionaryValue of all NetworkState properties. Currently
// provided for debugging purposes only.
@@ -253,8 +255,8 @@ class CHROMEOS_EXPORT NetworkStateHandler
virtual void CheckPortalListChanged(
const std::string& check_portal_list) OVERRIDE;
- // Sends NetworkManagerChanged() to observers and logs an event.
- virtual void NotifyManagerPropertyChanged() OVERRIDE;
+ // Called by ShillPropertyHandler when a technology list changes.
+ virtual void TechnologyListChanged() OVERRIDE;
// Called by |shill_property_handler_| when the service or device list has
// changed and all entries have been updated. This updates the list and
@@ -278,6 +280,9 @@ class CHROMEOS_EXPORT NetworkStateHandler
void UpdateNetworkStateProperties(NetworkState* network,
const base::DictionaryValue& properties);
+ // Sends DeviceListChanged() to observers and logs an event.
+ void NotifyDeviceListChanged();
+
// Non-const getters for managed entries. These are const so that they can
// be called by Get[Network|Device]State, even though they return non-const
// pointers.
« no previous file with comments | « chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc ('k') | chromeos/network/network_state_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698