| OLD | NEW |
| (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_READ_OBSERVER_H_ | |
| 6 #define CONTENT_BROWSER_STREAMS_STREAM_READ_OBSERVER_H_ | |
| 7 | |
| 8 namespace content { | |
| 9 | |
| 10 class Stream; | |
| 11 | |
| 12 class StreamReadObserver { | |
| 13 public: | |
| 14 // Sent when there is data available to be read from the stream. | |
| 15 virtual void OnDataAvailable(Stream* stream) = 0; | |
| 16 | |
| 17 protected: | |
| 18 virtual ~StreamReadObserver() {} | |
| 19 }; | |
| 20 | |
| 21 } // namespace content | |
| 22 | |
| 23 #endif // CONTENT_BROWSER_STREAMS_STREAM_READ_OBSERVER_H_ | |
| 24 | |
| OLD | NEW |