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

Side by Side Diff: webkit/glue/websocketstreamhandle_delegate.h

Issue 501125: Revert 34983 - Split more targets from chrome.gyp to add support for building... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 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 | Annotate | Revision Log
« no previous file with comments | « webkit/glue/webkit_glue_dummy.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Deleted: svn:eol-style
- LF
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 #ifndef WEBKIT_GLUE_WEBSOCKETSTREAMHANDLE_DELEGATE_H_ 5 #ifndef WEBKIT_GLUE_WEBSOCKETSTREAMHANDLE_DELEGATE_H_
6 #define WEBKIT_GLUE_WEBSOCKETSTREAMHANDLE_DELEGATE_H_ 6 #define WEBKIT_GLUE_WEBSOCKETSTREAMHANDLE_DELEGATE_H_
7 7
8 class GURL; 8 class GURL;
9 9
10 namespace WebKit { 10 namespace WebKit {
11 class WebSocketStreamHandle; 11 class WebSocketStreamHandle;
12 } 12 }
13 13
14 namespace webkit_glue { 14 namespace webkit_glue {
15 15
16 class WebSocketStreamHandleDelegate { 16 class WebSocketStreamHandleDelegate {
17 public: 17 public:
18 WebSocketStreamHandleDelegate() {} 18 WebSocketStreamHandleDelegate() {}
19 virtual ~WebSocketStreamHandleDelegate() {} 19 virtual ~WebSocketStreamHandleDelegate() {}
20 20
21 virtual void WillOpenStream(WebKit::WebSocketStreamHandle* handle, 21 virtual void WillOpenStream(WebKit::WebSocketStreamHandle* handle,
22 const GURL& url) {} 22 const GURL& url) {}
23 virtual void WillSendData(WebKit::WebSocketStreamHandle* handle, 23 virtual void WillSendData(WebKit::WebSocketStreamHandle* handle,
24 const char* data, size_t len) {} 24 const char* data, int len) {}
25 25
26 virtual void DidOpenStream(WebKit::WebSocketStreamHandle* handle, 26 virtual void DidOpenStream(WebKit::WebSocketStreamHandle* handle,
27 int max_amount_send_allowed) {} 27 int max_amount_send_allowed) {}
28 virtual void DidSendData(WebKit::WebSocketStreamHandle* handle, 28 virtual void DidSendData(WebKit::WebSocketStreamHandle* handle,
29 int amount_sent) {} 29 int amount_sent) {}
30 virtual void DidReceiveData(WebKit::WebSocketStreamHandle* handle, 30 virtual void DidReceiveData(WebKit::WebSocketStreamHandle* handle,
31 const char* data, size_t len) {} 31 const char* data, int len) {}
32 virtual void DidClose(WebKit::WebSocketStreamHandle*) {} 32 virtual void DidClose(WebKit::WebSocketStreamHandle*) {}
33 }; 33 };
34 34
35 } // namespace webkit_glue 35 } // namespace webkit_glue
36 36
37 #endif // WEBKIT_GLUE_WEBSOCKETSTREAMHANDLE_DELEGATE_H_ 37 #endif // WEBKIT_GLUE_WEBSOCKETSTREAMHANDLE_DELEGATE_H_
OLDNEW
« no previous file with comments | « webkit/glue/webkit_glue_dummy.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698