Make USB permissions work in the new permission message system
[chromium-blink-merge.git] / content / browser / streams / stream_read_observer.h
blob08fd657ac01d5868e5d5044dd89e1c97545fd0ba
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"
10 namespace content {
12 class Stream;
14 class CONTENT_EXPORT StreamReadObserver {
15 public:
16 // Sent when there is data available to be read from the stream.
17 virtual void OnDataAvailable(Stream* stream) = 0;
19 protected:
20 virtual ~StreamReadObserver() {}
23 } // namespace content
25 #endif // CONTENT_BROWSER_STREAMS_STREAM_READ_OBSERVER_H_