diff options
author | skyostil <skyostil@chromium.org> | 2015-06-11 04:43:45 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-06-11 11:44:22 +0000 |
commit | 4891b25ba40ddc3fb9c7c1f51de05f76ec86e9c5 (patch) | |
tree | d10caf7c5ba6146ad032183070d238fbff24e830 /net/http/http_server_properties_manager_unittest.cc | |
parent | 8b0b7ad8063e289f1ddb7c3e1bed1965bd30024b (diff) | |
download | chromium_src-4891b25ba40ddc3fb9c7c1f51de05f76ec86e9c5.zip chromium_src-4891b25ba40ddc3fb9c7c1f51de05f76ec86e9c5.tar.gz chromium_src-4891b25ba40ddc3fb9c7c1f51de05f76ec86e9c5.tar.bz2 |
net: Remove use of MessageLoopProxy and deprecated MessageLoop APIs
This patch was mostly autogenerated with https://codereview.chromium.org/1010073002/.
BUG=465354
Review URL: https://codereview.chromium.org/1170183002
Cr-Commit-Position: refs/heads/master@{#333929}
Diffstat (limited to 'net/http/http_server_properties_manager_unittest.cc')
-rw-r--r-- | net/http/http_server_properties_manager_unittest.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/net/http/http_server_properties_manager_unittest.cc b/net/http/http_server_properties_manager_unittest.cc index 492a8cc..e4f2141 100644 --- a/net/http/http_server_properties_manager_unittest.cc +++ b/net/http/http_server_properties_manager_unittest.cc @@ -10,9 +10,11 @@ #include "base/prefs/pref_registry_simple.h" #include "base/prefs/testing_pref_service.h" #include "base/run_loop.h" +#include "base/single_thread_task_runner.h" #include "base/strings/string_number_conversions.h" #include "base/strings/stringprintf.h" #include "base/test/test_simple_task_runner.h" +#include "base/thread_task_runner_handle.h" #include "base/values.h" #include "net/base/ip_address_number.h" #include "testing/gmock/include/gmock/gmock.h" @@ -106,9 +108,8 @@ class HttpServerPropertiesManagerTest : public testing::Test { pref_service_.registry()->RegisterDictionaryPref(kTestHttpServerProperties); http_server_props_manager_.reset( new StrictMock<TestingHttpServerPropertiesManager>( - &pref_service_, - kTestHttpServerProperties, - base::MessageLoop::current()->message_loop_proxy())); + &pref_service_, kTestHttpServerProperties, + base::ThreadTaskRunnerHandle::Get())); ExpectCacheUpdate(); base::RunLoop().RunUntilIdle(); } |