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

Side by Side Diff: content/browser/streams/stream_write_observer.h

Issue 12637006: Reland r187230: Implement the Stream registry in content (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase Created 7 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 unified diff | Download patch
« no previous file with comments | « content/browser/streams/stream_unittest.cc ('k') | content/content_browser.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_BROWSER_STREAMS_STREAM_WRITE_OBSERVER_H_
6 #define CONTENT_BROWSER_STREAMS_STREAM_WRITE_OBSERVER_H_
7
8 namespace content {
9
10 class Stream;
11
12 class StreamWriteObserver {
13 public:
14 // Sent when space becomes available in the stream, and the source should
15 // resume writing.
16 virtual void OnSpaceAvailable(Stream* stream) = 0;
17
18 protected:
19 virtual ~StreamWriteObserver() {}
20 };
21
22 } // namespace content
23
24 #endif // CONTENT_BROWSER_STREAMS_STREAM_WRITE_OBSERVER_H_
OLDNEW
« no previous file with comments | « content/browser/streams/stream_unittest.cc ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698