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

Unified Diff: net/websockets/websocket_job_unittest.cc

Issue 1217003: Try to fix a compile error on ARM.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/websockets/websocket_job_unittest.cc
===================================================================
--- net/websockets/websocket_job_unittest.cc (revision 42300)
+++ net/websockets/websocket_job_unittest.cc (working copy)
@@ -265,7 +265,7 @@
websocket_->OnSentData(socket_.get(), strlen(kHandshakeRequestMessage));
EXPECT_EQ(strlen(kHandshakeRequestMessage), delegate.amount_sent());
- static const char* kHandshakeResponseMessage =
+ const char kHandshakeResponseMessage[] =
"HTTP/1.1 101 Web Socket Protocol Handshake\r\n"
"Upgrade: WebSocket\r\n"
"Connection: Upgrade\r\n"
@@ -323,7 +323,7 @@
EXPECT_EQ(strlen(kHandshakeRequestMessage), delegate.amount_sent());
EXPECT_EQ(WebSocketJob::CONNECTING, GetWebSocketJobState());
- static const char* kHandshakeResponseMessage =
+ const char kHandshakeResponseMessage[] =
"HTTP/1.1 101 Web Socket Protocol Handshake\r\n"
"Upgrade: WebSocket\r\n"
"Connection: Upgrade\r\n"
@@ -393,7 +393,7 @@
websocket_->OnSentData(socket_, strlen(kHandshakeRequestExpected));
EXPECT_EQ(strlen(kHandshakeRequestMessage), delegate.amount_sent());
- static const char* kHandshakeResponseMessage =
+ const char kHandshakeResponseMessage[] =
"HTTP/1.1 101 Web Socket Protocol Handshake\r\n"
"Upgrade: WebSocket\r\n"
"Connection: Upgrade\r\n"
@@ -472,7 +472,7 @@
websocket_->OnSentData(socket_, strlen(kHandshakeRequestExpected));
EXPECT_EQ(strlen(kHandshakeRequestMessage), delegate.amount_sent());
- static const char* kHandshakeResponseMessage =
+ const char kHandshakeResponseMessage[] =
"HTTP/1.1 101 Web Socket Protocol Handshake\r\n"
"Upgrade: WebSocket\r\n"
"Connection: Upgrade\r\n"
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698