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

Side by Side Diff: Source/modules/websockets/MainThreadWebSocketChannel.h

Issue 304113002: Pass render frame ID to WebSocketBridge (Blink side) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Addressed #2 Created 6 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 /* 1 /*
2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 // argument to omit payload. 82 // argument to omit payload.
83 virtual void close(int code, const String& reason) OVERRIDE; 83 virtual void close(int code, const String& reason) OVERRIDE;
84 virtual void fail(const String& reason, MessageLevel, const String&, unsigne d lineNumber) OVERRIDE; 84 virtual void fail(const String& reason, MessageLevel, const String&, unsigne d lineNumber) OVERRIDE;
85 using WebSocketChannel::fail; 85 using WebSocketChannel::fail;
86 virtual void disconnect() OVERRIDE; 86 virtual void disconnect() OVERRIDE;
87 87
88 virtual void suspend() OVERRIDE; 88 virtual void suspend() OVERRIDE;
89 virtual void resume() OVERRIDE; 89 virtual void resume() OVERRIDE;
90 90
91 // SocketStreamHandleClient functions. 91 // SocketStreamHandleClient functions.
92 virtual void willOpenSocketStream(SocketStreamHandle*) OVERRIDE;
93 virtual void didOpenSocketStream(SocketStreamHandle*) OVERRIDE; 92 virtual void didOpenSocketStream(SocketStreamHandle*) OVERRIDE;
94 virtual void didCloseSocketStream(SocketStreamHandle*) OVERRIDE; 93 virtual void didCloseSocketStream(SocketStreamHandle*) OVERRIDE;
95 virtual void didReceiveSocketStreamData(SocketStreamHandle*, const char*, in t) OVERRIDE; 94 virtual void didReceiveSocketStreamData(SocketStreamHandle*, const char*, in t) OVERRIDE;
96 virtual void didUpdateBufferedAmount(SocketStreamHandle*, size_t bufferedAmo unt) OVERRIDE; 95 virtual void didUpdateBufferedAmount(SocketStreamHandle*, size_t bufferedAmo unt) OVERRIDE;
97 virtual void didFailSocketStream(SocketStreamHandle*, const SocketStreamErro r&) OVERRIDE; 96 virtual void didFailSocketStream(SocketStreamHandle*, const SocketStreamErro r&) OVERRIDE;
98 97
99 // FileReaderLoaderClient functions. 98 // FileReaderLoaderClient functions.
100 virtual void didStartLoading() OVERRIDE; 99 virtual void didStartLoading() OVERRIDE;
101 virtual void didReceiveData() OVERRIDE; 100 virtual void didReceiveData() OVERRIDE;
102 virtual void didFinishLoading() OVERRIDE; 101 virtual void didFinishLoading() OVERRIDE;
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 unsigned m_lineNumberAtConstruction; 223 unsigned m_lineNumberAtConstruction;
225 224
226 WebSocketPerMessageDeflate m_perMessageDeflate; 225 WebSocketPerMessageDeflate m_perMessageDeflate;
227 226
228 WebSocketDeflateFramer m_deflateFramer; 227 WebSocketDeflateFramer m_deflateFramer;
229 }; 228 };
230 229
231 } // namespace WebCore 230 } // namespace WebCore
232 231
233 #endif // MainThreadWebSocketChannel_h 232 #endif // MainThreadWebSocketChannel_h
OLDNEW
« no previous file with comments | « Source/core/loader/FrameLoaderClient.h ('k') | Source/modules/websockets/MainThreadWebSocketChannel.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698