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

Side by Side Diff: net/socket_stream/socket_stream_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/socket/ssl_client_socket_win.cc ('k') | net/tools/dump_cache/cache_dumper.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 <string> 5 #include <string>
6 #include <vector> 6 #include <vector>
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/utf_string_conversions.h"
9 #include "net/base/mock_host_resolver.h" 10 #include "net/base/mock_host_resolver.h"
10 #include "net/base/net_log.h" 11 #include "net/base/net_log.h"
11 #include "net/base/net_log_unittest.h" 12 #include "net/base/net_log_unittest.h"
12 #include "net/base/test_completion_callback.h" 13 #include "net/base/test_completion_callback.h"
13 #include "net/socket/socket_test_util.h" 14 #include "net/socket/socket_test_util.h"
14 #include "net/socket_stream/socket_stream.h" 15 #include "net/socket_stream/socket_stream.h"
15 #include "net/url_request/url_request_unittest.h" 16 #include "net/url_request/url_request_unittest.h"
16 #include "testing/gtest/include/gtest/gtest.h" 17 #include "testing/gtest/include/gtest/gtest.h"
17 #include "testing/platform_test.h" 18 #include "testing/platform_test.h"
18 19
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 EXPECT_EQ(3U, events.size()); 339 EXPECT_EQ(3U, events.size());
339 340
340 EXPECT_EQ(SocketStreamEvent::EVENT_AUTH_REQUIRED, events[0].event_type); 341 EXPECT_EQ(SocketStreamEvent::EVENT_AUTH_REQUIRED, events[0].event_type);
341 EXPECT_EQ(SocketStreamEvent::EVENT_CONNECTED, events[1].event_type); 342 EXPECT_EQ(SocketStreamEvent::EVENT_CONNECTED, events[1].event_type);
342 EXPECT_EQ(SocketStreamEvent::EVENT_CLOSE, events[2].event_type); 343 EXPECT_EQ(SocketStreamEvent::EVENT_CLOSE, events[2].event_type);
343 344
344 // TODO(eroman): Add back NetLogTest here... 345 // TODO(eroman): Add back NetLogTest here...
345 } 346 }
346 347
347 } // namespace net 348 } // namespace net
OLDNEW
« no previous file with comments | « net/socket/ssl_client_socket_win.cc ('k') | net/tools/dump_cache/cache_dumper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698