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.
5 #ifndef CONTENT_BROWSER_STREAMS_STREAM_READ_OBSERVER_H_
6 #define CONTENT_BROWSER_STREAMS_STREAM_READ_OBSERVER_H_
8 #include "content/common/content_export.h"
14 class CONTENT_EXPORT StreamReadObserver
{
16 // Sent when there is data available to be read from the stream.
17 virtual void OnDataAvailable(Stream
* stream
) = 0;
20 virtual ~StreamReadObserver() {}
23 } // namespace content
25 #endif // CONTENT_BROWSER_STREAMS_STREAM_READ_OBSERVER_H_