OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 <resolv.h> | 5 #include <resolv.h> |
6 | 6 |
7 #include "base/cancelable_callback.h" | 7 #include "base/cancelable_callback.h" |
8 #include "base/files/file_util.h" | 8 #include "base/files/file_util.h" |
| 9 #include "base/message_loop/message_loop.h" |
9 #include "base/sys_byteorder.h" | 10 #include "base/sys_byteorder.h" |
10 #include "base/test/test_timeouts.h" | 11 #include "base/test/test_timeouts.h" |
11 #include "base/threading/platform_thread.h" | 12 #include "base/threading/platform_thread.h" |
12 #include "net/base/ip_address.h" | 13 #include "net/base/ip_address.h" |
13 #include "net/dns/dns_config_service_posix.h" | 14 #include "net/dns/dns_config_service_posix.h" |
14 #include "net/dns/dns_protocol.h" | 15 #include "net/dns/dns_protocol.h" |
15 | 16 |
16 #include "testing/gtest/include/gtest/gtest.h" | 17 #include "testing/gtest/include/gtest/gtest.h" |
17 | 18 |
18 #if defined(OS_ANDROID) | 19 #if defined(OS_ANDROID) |
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
287 service_->OnNetworkChanged(NetworkChangeNotifier::CONNECTION_WIFI); | 288 service_->OnNetworkChanged(NetworkChangeNotifier::CONNECTION_WIFI); |
288 EXPECT_TRUE(service_->SeenChangeSince(creation_time_)); | 289 EXPECT_TRUE(service_->SeenChangeSince(creation_time_)); |
289 ExpectChange(); | 290 ExpectChange(); |
290 } | 291 } |
291 | 292 |
292 } // namespace internal | 293 } // namespace internal |
293 | 294 |
294 #endif // OS_ANDROID | 295 #endif // OS_ANDROID |
295 | 296 |
296 } // namespace net | 297 } // namespace net |
OLD | NEW |