Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / content / browser / streams / stream_register_observer.h
blobed6a29989e0723ae59190333c34b64ca57f54c79
1 // Copyright 2014 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_REGISTER_OBSERVER_H_
6 #define CONTENT_BROWSER_STREAMS_STREAM_REGISTER_OBSERVER_H_
8 #include "content/common/content_export.h"
10 namespace content {
12 class Stream;
14 class CONTENT_EXPORT StreamRegisterObserver {
15 public:
16 // Sent when the stream is registered.
17 virtual void OnStreamRegistered(Stream* stream) = 0;
19 protected:
20 virtual ~StreamRegisterObserver() {}
23 } // namespace content
25 #endif // CONTENT_BROWSER_STREAMS_STREAM_REGISTER_OBSERVER_H_