| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "base/memory/weak_ptr.h" | 5 #include "base/memory/weak_ptr.h" |
| 6 #include "base/run_loop.h" | 6 #include "base/run_loop.h" |
| 7 #include "chrome/utility/local_discovery/service_discovery_client_impl.h" | 7 #include "chrome/common/local_discovery/service_discovery_client_impl.h" |
| 8 #include "net/base/net_errors.h" | 8 #include "net/base/net_errors.h" |
| 9 #include "net/dns/dns_protocol.h" | 9 #include "net/dns/dns_protocol.h" |
| 10 #include "net/dns/mdns_client_impl.h" | 10 #include "net/dns/mdns_client_impl.h" |
| 11 #include "net/dns/mock_mdns_socket_factory.h" | 11 #include "net/dns/mock_mdns_socket_factory.h" |
| 12 #include "testing/gmock/include/gmock/gmock.h" | 12 #include "testing/gmock/include/gmock/gmock.h" |
| 13 #include "testing/gtest/include/gtest/gtest.h" | 13 #include "testing/gtest/include/gtest/gtest.h" |
| 14 | 14 |
| 15 using ::testing::_; | 15 using ::testing::_; |
| 16 using ::testing::Invoke; | 16 using ::testing::Invoke; |
| 17 using ::testing::StrictMock; | 17 using ::testing::StrictMock; |
| (...skipping 491 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 509 ServiceResolver::STATUS_REQUEST_TIMEOUT, _, _, _)); | 509 ServiceResolver::STATUS_REQUEST_TIMEOUT, _, _, _)); |
| 510 | 510 |
| 511 // TODO(noamsml): When NSEC record support is added, change this to use an | 511 // TODO(noamsml): When NSEC record support is added, change this to use an |
| 512 // NSEC record. | 512 // NSEC record. |
| 513 RunFor(base::TimeDelta::FromSeconds(4)); | 513 RunFor(base::TimeDelta::FromSeconds(4)); |
| 514 }; | 514 }; |
| 515 | 515 |
| 516 } // namespace | 516 } // namespace |
| 517 | 517 |
| 518 } // namespace local_discovery | 518 } // namespace local_discovery |
| OLD | NEW |