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

Side by Side Diff: net/proxy/multi_threaded_proxy_resolver_unittest.cc

Issue 3058027: Add #include utf_string_conversions.h to all files that use ASCIIToWide and... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « net/http/url_security_manager_win.cc ('k') | net/proxy/proxy_resolver_winhttp.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 "net/proxy/multi_threaded_proxy_resolver.h" 5 #include "net/proxy/multi_threaded_proxy_resolver.h"
6 6
7 #include "base/stl_util-inl.h" 7 #include "base/stl_util-inl.h"
8 #include "base/string_util.h" 8 #include "base/string_util.h"
9 #include "base/utf_string_conversions.h"
9 #include "base/waitable_event.h" 10 #include "base/waitable_event.h"
10 #include "googleurl/src/gurl.h" 11 #include "googleurl/src/gurl.h"
11 #include "net/base/net_log.h" 12 #include "net/base/net_log.h"
12 #include "net/base/net_log_unittest.h" 13 #include "net/base/net_log_unittest.h"
13 #include "net/base/net_errors.h" 14 #include "net/base/net_errors.h"
14 #include "net/base/test_completion_callback.h" 15 #include "net/base/test_completion_callback.h"
15 #include "net/proxy/proxy_info.h" 16 #include "net/proxy/proxy_info.h"
16 #include "testing/gtest/include/gtest/gtest.h" 17 #include "testing/gtest/include/gtest/gtest.h"
17 18
18 namespace net { 19 namespace net {
(...skipping 723 matching lines...) Expand 10 before | Expand all | Expand 10 after
742 // All in all, the first thread should have seen just 1 request. And the 743 // All in all, the first thread should have seen just 1 request. And the
743 // second thread 3 requests. 744 // second thread 3 requests.
744 ASSERT_EQ(2u, factory->resolvers().size()); 745 ASSERT_EQ(2u, factory->resolvers().size());
745 EXPECT_EQ(1, factory->resolvers()[0]->request_count()); 746 EXPECT_EQ(1, factory->resolvers()[0]->request_count());
746 EXPECT_EQ(3, factory->resolvers()[1]->request_count()); 747 EXPECT_EQ(3, factory->resolvers()[1]->request_count());
747 } 748 }
748 749
749 } // namespace 750 } // namespace
750 751
751 } // namespace net 752 } // namespace net
OLDNEW
« no previous file with comments | « net/http/url_security_manager_win.cc ('k') | net/proxy/proxy_resolver_winhttp.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698