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

Side by Side Diff: net/websockets/websocket_stream_test.cc

Issue 1535363003: Switch to standard integer types in net/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: stddef Created 5 years 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/websockets/websocket_stream.h" 5 #include "net/websockets/websocket_stream.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <string> 8 #include <string>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "base/macros.h"
13 #include "base/metrics/histogram.h" 14 #include "base/metrics/histogram.h"
14 #include "base/metrics/histogram_samples.h" 15 #include "base/metrics/histogram_samples.h"
15 #include "base/metrics/statistics_recorder.h" 16 #include "base/metrics/statistics_recorder.h"
16 #include "base/run_loop.h" 17 #include "base/run_loop.h"
17 #include "base/strings/stringprintf.h" 18 #include "base/strings/stringprintf.h"
18 #include "base/timer/mock_timer.h" 19 #include "base/timer/mock_timer.h"
19 #include "base/timer/timer.h" 20 #include "base/timer/timer.h"
20 #include "net/base/net_errors.h" 21 #include "net/base/net_errors.h"
21 #include "net/base/test_data_directory.h" 22 #include "net/base/test_data_directory.h"
22 #include "net/http/http_request_headers.h" 23 #include "net/http/http_request_headers.h"
(...skipping 1164 matching lines...) Expand 10 before | Expand all | Expand 10 after
1187 CreateAndConnectRawExpectations("ws://localhost/", NoSubProtocols(), 1188 CreateAndConnectRawExpectations("ws://localhost/", NoSubProtocols(),
1188 LocalhostOrigin(), socket_data.Pass()); 1189 LocalhostOrigin(), socket_data.Pass());
1189 WaitUntilConnectDone(); 1190 WaitUntilConnectDone();
1190 EXPECT_TRUE(has_failed()); 1191 EXPECT_TRUE(has_failed());
1191 EXPECT_EQ("Establishing a tunnel via proxy server failed.", 1192 EXPECT_EQ("Establishing a tunnel via proxy server failed.",
1192 failure_message()); 1193 failure_message());
1193 } 1194 }
1194 1195
1195 } // namespace 1196 } // namespace
1196 } // namespace net 1197 } // namespace net
OLDNEW
« no previous file with comments | « net/websockets/websocket_stream_create_test_base.cc ('k') | net/websockets/websocket_test_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698