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/memory/weak_ptr.h" | 8 #include "base/memory/weak_ptr.h" |
| 9 #include "base/message_loop/message_loop.h" |
9 #include "base/run_loop.h" | 10 #include "base/run_loop.h" |
10 #include "base/single_thread_task_runner.h" | 11 #include "base/single_thread_task_runner.h" |
11 #include "base/threading/thread_task_runner_handle.h" | 12 #include "base/threading/thread_task_runner_handle.h" |
12 #include "chrome/browser/local_discovery/service_discovery_client_impl.h" | 13 #include "chrome/browser/local_discovery/service_discovery_client_impl.h" |
13 #include "net/base/net_errors.h" | 14 #include "net/base/net_errors.h" |
14 #include "net/dns/dns_protocol.h" | 15 #include "net/dns/dns_protocol.h" |
15 #include "net/dns/mdns_client_impl.h" | 16 #include "net/dns/mdns_client_impl.h" |
16 #include "net/dns/mock_mdns_socket_factory.h" | 17 #include "net/dns/mock_mdns_socket_factory.h" |
17 #include "testing/gmock/include/gmock/gmock.h" | 18 #include "testing/gmock/include/gmock/gmock.h" |
18 #include "testing/gtest/include/gtest/gtest.h" | 19 #include "testing/gtest/include/gtest/gtest.h" |
(...skipping 487 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
506 ServiceResolver::STATUS_REQUEST_TIMEOUT, _, _, _)); | 507 ServiceResolver::STATUS_REQUEST_TIMEOUT, _, _, _)); |
507 | 508 |
508 // TODO(noamsml): When NSEC record support is added, change this to use an | 509 // TODO(noamsml): When NSEC record support is added, change this to use an |
509 // NSEC record. | 510 // NSEC record. |
510 RunFor(base::TimeDelta::FromSeconds(4)); | 511 RunFor(base::TimeDelta::FromSeconds(4)); |
511 } | 512 } |
512 | 513 |
513 } // namespace | 514 } // namespace |
514 | 515 |
515 } // namespace local_discovery | 516 } // namespace local_discovery |
OLD | NEW |