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

Unified Diff: net/nqe/network_qualities_prefs_manager.h

Issue 2894863002: Rename TaskRunner::RunsTasksOnCurrentThread() in //net (Closed)
Patch Set: fixed build error Created 3 years, 7 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
« no previous file with comments | « net/log/file_net_log_observer.cc ('k') | net/nqe/network_qualities_prefs_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/nqe/network_qualities_prefs_manager.h
diff --git a/net/nqe/network_qualities_prefs_manager.h b/net/nqe/network_qualities_prefs_manager.h
index db315e364450dfff38ced366dffeade096467dd6..549d9b5df713bc100e8be33e3178a026c6881f52 100644
--- a/net/nqe/network_qualities_prefs_manager.h
+++ b/net/nqe/network_qualities_prefs_manager.h
@@ -42,7 +42,8 @@ typedef std::map<nqe::internal::NetworkID, nqe::internal::CachedNetworkQuality>
// propagates network quality pref changes from the network thread to the
// provided pref delegate on the pref thread.
//
-// ShutdownOnPrefThread must be called from the pref thread before destruction.
+// ShutdownOnPrefSequence must be called from the pref thread before
+// destruction.
class NET_EXPORT NetworkQualitiesPrefsManager
: public nqe::internal::NetworkQualityStore::NetworkQualitiesCacheObserver {
public:
@@ -70,7 +71,7 @@ class NET_EXPORT NetworkQualitiesPrefsManager
NetworkQualityEstimator* network_quality_estimator);
// Prepare for shutdown. Must be called on the pref thread before destruction.
- void ShutdownOnPrefThread();
+ void ShutdownOnPrefSequence();
// Clear the network quality estimator prefs.
void ClearPrefs();
@@ -82,7 +83,7 @@ class NET_EXPORT NetworkQualitiesPrefsManager
private:
// Pref thread members:
// Called on pref thread when there is a change in the cached network quality.
- void OnChangeInCachedNetworkQualityOnPrefThread(
+ void OnChangeInCachedNetworkQualityOnPrefSequence(
const nqe::internal::NetworkID& network_id,
const nqe::internal::CachedNetworkQuality& cached_network_quality);
« no previous file with comments | « net/log/file_net_log_observer.cc ('k') | net/nqe/network_qualities_prefs_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698