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

Side by Side Diff: jingle/glue/proxy_resolving_client_socket_unittest.cc

Issue 1974023002: Remove base/thread_task_runner_handle.h dummy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rm duplicate Created 4 years, 7 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 "jingle/glue/proxy_resolving_client_socket.h" 5 #include "jingle/glue/proxy_resolving_client_socket.h"
6 6
7 #include "base/compiler_specific.h" 7 #include "base/compiler_specific.h"
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
10 #include "base/thread_task_runner_handle.h" 10 #include "base/threading/thread_task_runner_handle.h"
11 #include "net/base/test_completion_callback.h" 11 #include "net/base/test_completion_callback.h"
12 #include "net/dns/mock_host_resolver.h" 12 #include "net/dns/mock_host_resolver.h"
13 #include "net/proxy/proxy_service.h" 13 #include "net/proxy/proxy_service.h"
14 #include "net/socket/socket_test_util.h" 14 #include "net/socket/socket_test_util.h"
15 #include "net/url_request/url_request_context_getter.h" 15 #include "net/url_request/url_request_context_getter.h"
16 #include "net/url_request/url_request_test_util.h" 16 #include "net/url_request/url_request_test_util.h"
17 #include "testing/gtest/include/gtest/gtest.h" 17 #include "testing/gtest/include/gtest/gtest.h"
18 18
19 namespace { 19 namespace {
20 20
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 const net::ProxyRetryInfoMap& retry_info = 110 const net::ProxyRetryInfoMap& retry_info =
111 context->proxy_service()->proxy_retry_info(); 111 context->proxy_service()->proxy_retry_info();
112 112
113 EXPECT_EQ(1u, retry_info.size()); 113 EXPECT_EQ(1u, retry_info.size());
114 net::ProxyRetryInfoMap::const_iterator iter = retry_info.find("bad:99"); 114 net::ProxyRetryInfoMap::const_iterator iter = retry_info.find("bad:99");
115 EXPECT_TRUE(iter != retry_info.end()); 115 EXPECT_TRUE(iter != retry_info.end());
116 } 116 }
117 117
118 // TODO(sanjeevr): Add more unit-tests. 118 // TODO(sanjeevr): Add more unit-tests.
119 } // namespace jingle_glue 119 } // namespace jingle_glue
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698