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