OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 <stdint.h> | 5 #include <stdint.h> |
6 | 6 |
7 #include "base/location.h" | 7 #include "base/location.h" |
| 8 #include "base/message_loop/message_loop.h" |
8 #include "base/run_loop.h" | 9 #include "base/run_loop.h" |
9 #include "base/single_thread_task_runner.h" | 10 #include "base/single_thread_task_runner.h" |
10 #include "base/threading/thread_task_runner_handle.h" | 11 #include "base/threading/thread_task_runner_handle.h" |
11 #include "chrome/browser/local_discovery/service_discovery_client_impl.h" | 12 #include "chrome/browser/local_discovery/service_discovery_client_impl.h" |
12 #include "net/dns/mdns_client_impl.h" | 13 #include "net/dns/mdns_client_impl.h" |
13 #include "net/dns/mock_mdns_socket_factory.h" | 14 #include "net/dns/mock_mdns_socket_factory.h" |
14 #include "testing/gmock/include/gmock/gmock.h" | 15 #include "testing/gmock/include/gmock/gmock.h" |
15 #include "testing/gtest/include/gtest/gtest.h" | 16 #include "testing/gtest/include/gtest/gtest.h" |
16 | 17 |
17 using ::testing::_; | 18 using ::testing::_; |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 resolver.Start(); | 180 resolver.Start(); |
180 | 181 |
181 EXPECT_CALL(*this, AddressCallbackInternal(false, "", "")); | 182 EXPECT_CALL(*this, AddressCallbackInternal(false, "", "")); |
182 | 183 |
183 RunFor(base::TimeDelta::FromSeconds(4)); | 184 RunFor(base::TimeDelta::FromSeconds(4)); |
184 } | 185 } |
185 | 186 |
186 } // namespace | 187 } // namespace |
187 | 188 |
188 } // namespace local_discovery | 189 } // namespace local_discovery |
OLD | NEW |