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

Unified Diff: net/nqe/network_qualities_prefs_manager_unittest.cc

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/nqe/network_qualities_prefs_manager.cc ('k') | net/proxy/proxy_config_service_android.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_unittest.cc
diff --git a/net/nqe/network_qualities_prefs_manager_unittest.cc b/net/nqe/network_qualities_prefs_manager_unittest.cc
index 34cb11b288cc731a98d630d152bed21fe81d24ad..1f6d3d478a47dc416b20eb26a16f453986d2bc00 100644
--- a/net/nqe/network_qualities_prefs_manager_unittest.cc
+++ b/net/nqe/network_qualities_prefs_manager_unittest.cc
@@ -107,7 +107,7 @@ TEST(NetworkQualitiesPrefManager, Write) {
// Prefs should not be read again.
EXPECT_EQ(1u, prefs_delegate_ptr->read_count());
- manager.ShutdownOnPrefThread();
+ manager.ShutdownOnPrefSequence();
}
// Verify that the pref is not written if the network ID contains a period.
@@ -134,7 +134,7 @@ TEST(NetworkQualitiesPrefManager, WriteWithPeriodInNetworkID) {
base::RunLoop().RunUntilIdle();
EXPECT_EQ(0u, prefs_delegate_ptr->write_count());
- manager.ShutdownOnPrefThread();
+ manager.ShutdownOnPrefSequence();
}
TEST(NetworkQualitiesPrefManager, WriteAndReadWithMultipleNetworkIDs) {
@@ -194,7 +194,7 @@ TEST(NetworkQualitiesPrefManager, WriteAndReadWithMultipleNetworkIDs) {
estimator.OnPrefsRead(read_prefs);
histogram_tester.ExpectUniqueSample("NQE.Prefs.ReadSize", kMaxCacheSize, 1);
- manager.ShutdownOnPrefThread();
+ manager.ShutdownOnPrefSequence();
}
// Verifies that the prefs are cleared correctly.
@@ -233,7 +233,7 @@ TEST(NetworkQualitiesPrefManager, ClearPrefs) {
// Verify that the observer was notified, and the updated network quality was
// written to the prefs.
EXPECT_EQ(1u, manager.ForceReadPrefsForTesting().size());
- manager.ShutdownOnPrefThread();
+ manager.ShutdownOnPrefSequence();
}
} // namespace
« no previous file with comments | « net/nqe/network_qualities_prefs_manager.cc ('k') | net/proxy/proxy_config_service_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698