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

Unified Diff: chromeos/network/network_policy_observer.h

Issue 701863002: Trigger ConnectToBestNetwork in more cases. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@get_network_configs_from_policy
Patch Set: Fixed destruction order in NetworkHandler. Created 6 years, 1 month 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
« no previous file with comments | « chromeos/network/network_handler.cc ('k') | chromeos/network/network_profile_handler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/network/network_policy_observer.h
diff --git a/chromeos/network/network_policy_observer.h b/chromeos/network/network_policy_observer.h
index c7af61edba503e3c9e47b4bda4d3c36ab4ed1a01..924a036d31b45dc2116d7ee951db674e3053d0d3 100644
--- a/chromeos/network/network_policy_observer.h
+++ b/chromeos/network/network_policy_observer.h
@@ -13,10 +13,11 @@ namespace chromeos {
class NetworkPolicyObserver {
public:
- // Called when the policy for |userhash| was set (also when it was updated).
- // Note that the policy might not have been applied yet at that time.
- // An empty |userhash| designates the device policy.
- virtual void PolicyChanged(const std::string& userhash) {}
+ // Called when the policies for |userhash| were set (also when they were
+ // updated). An empty |userhash| designates the device policy.
+ // Note that the policies might be empty and might not have been applied yet
+ // at that time.
+ virtual void PoliciesChanged(const std::string& userhash) {}
// Called every time a policy application for |userhash| finished. This is
// only called once no more policies are pending for |userhash|.
« no previous file with comments | « chromeos/network/network_handler.cc ('k') | chromeos/network/network_profile_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698