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

Side by Side Diff: content/common/socket_stream_messages.h

Issue 10458057: Websocket should fire 'error' event if no server available (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 8 years, 6 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
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 // Multiply-included message file, hence no include guard. 5 // Multiply-included message file, hence no include guard.
6 #include <vector> 6 #include <vector>
7 7
8 #include "content/common/content_export.h" 8 #include "content/common/content_export.h"
9 #include "googleurl/src/gurl.h" 9 #include "googleurl/src/gurl.h"
10 #include "ipc/ipc_message_macros.h" 10 #include "ipc/ipc_message_macros.h"
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 66
67 // |amount_sent| bytes of data requested by 67 // |amount_sent| bytes of data requested by
68 // SocketStreamHostMsg_SendData has been sent on the Socket Stream. 68 // SocketStreamHostMsg_SendData has been sent on the Socket Stream.
69 IPC_MESSAGE_CONTROL2(SocketStreamMsg_SentData, 69 IPC_MESSAGE_CONTROL2(SocketStreamMsg_SentData,
70 int /* socket_id */, 70 int /* socket_id */,
71 int /* amount_sent */) 71 int /* amount_sent */)
72 72
73 // The Socket Stream is closed. 73 // The Socket Stream is closed.
74 IPC_MESSAGE_CONTROL1(SocketStreamMsg_Closed, 74 IPC_MESSAGE_CONTROL1(SocketStreamMsg_Closed,
75 int /* socket_id */) 75 int /* socket_id */)
76
77 // The Socket Stream is failed.
78 IPC_MESSAGE_CONTROL2(SocketStreamMsg_Failed,
79 int /* socket_id */,
80 int /* error code */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698