| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "net/nqe/network_qualities_prefs_manager.h" | 5 #include "net/nqe/network_qualities_prefs_manager.h" |
| 6 | 6 |
| 7 #include <map> | 7 #include <map> |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 263 estimator.RunOneRequest(); | 263 estimator.RunOneRequest(); |
| 264 base::RunLoop().RunUntilIdle(); | 264 base::RunLoop().RunUntilIdle(); |
| 265 // Verify that the observer was notified, and the updated network quality was | 265 // Verify that the observer was notified, and the updated network quality was |
| 266 // written to the prefs. | 266 // written to the prefs. |
| 267 EXPECT_EQ(1u, manager.ForceReadPrefsForTesting().size()); | 267 EXPECT_EQ(1u, manager.ForceReadPrefsForTesting().size()); |
| 268 manager.ShutdownOnPrefThread(); | 268 manager.ShutdownOnPrefThread(); |
| 269 } | 269 } |
| 270 | 270 |
| 271 } // namespace | 271 } // namespace |
| 272 | 272 |
| 273 } // namespace net | 273 } // namespace net |
| OLD | NEW |