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

Side by Side Diff: trunk/Source/platform/network/SocketStreamHandleClient.h

Issue 338243006: Revert 176298 "[WebSocket] bufferedAmount should not decrease in..." (Closed) Base URL: svn://svn.chromium.org/blink/
Patch Set: 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
« no previous file with comments | « trunk/Source/platform/network/SocketStreamHandle.cpp ('k') | trunk/Source/web/WebSocketImpl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2009 Apple Inc. All rights reserved.
3 * Copyright (C) 2009, 2011, 2012 Google Inc. All rights reserved. 3 * Copyright (C) 2009, 2011, 2012 Google Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 27 matching lines...) Expand all
38 class SocketStreamError; 38 class SocketStreamError;
39 class SocketStreamHandle; 39 class SocketStreamHandle;
40 40
41 class SocketStreamHandleClient { 41 class SocketStreamHandleClient {
42 public: 42 public:
43 virtual ~SocketStreamHandleClient() { } 43 virtual ~SocketStreamHandleClient() { }
44 44
45 virtual void didOpenSocketStream(SocketStreamHandle*) { } 45 virtual void didOpenSocketStream(SocketStreamHandle*) { }
46 virtual void didCloseSocketStream(SocketStreamHandle*) { } 46 virtual void didCloseSocketStream(SocketStreamHandle*) { }
47 virtual void didReceiveSocketStreamData(SocketStreamHandle*, const char* /*d ata*/, int /*length*/) { } 47 virtual void didReceiveSocketStreamData(SocketStreamHandle*, const char* /*d ata*/, int /*length*/) { }
48 virtual void didConsumeBufferedAmount(SocketStreamHandle*, size_t amount) { } 48 virtual void didUpdateBufferedAmount(SocketStreamHandle*, size_t /*bufferedA mount*/) { }
49 49
50 virtual void didFailSocketStream(SocketStreamHandle*, const SocketStreamErro r&) { } 50 virtual void didFailSocketStream(SocketStreamHandle*, const SocketStreamErro r&) { }
51 }; 51 };
52 52
53 } // namespace WebCore 53 } // namespace WebCore
54 54
55 #endif // SocketStreamHandleClient_h 55 #endif // SocketStreamHandleClient_h
OLDNEW
« no previous file with comments | « trunk/Source/platform/network/SocketStreamHandle.cpp ('k') | trunk/Source/web/WebSocketImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698