Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(630)

Side by Side Diff: net/dns/dns_config_service_posix_unittest.cc

Issue 2136563002: Remove calls to MessageLoop::current() in base. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: restore dns_config_service_posix_unittest.cc Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698