OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_PUBLIC_BROWSER_MEDIA_OBSERVER_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_MEDIA_OBSERVER_H_ |
6 #define CONTENT_PUBLIC_BROWSER_MEDIA_OBSERVER_H_ | 6 #define CONTENT_PUBLIC_BROWSER_MEDIA_OBSERVER_H_ |
7 #pragma once | |
8 | 7 |
9 #include "content/public/common/media_stream_request.h" | 8 #include "content/public/common/media_stream_request.h" |
10 | 9 |
11 namespace media { | 10 namespace media { |
12 struct MediaLogEvent; | 11 struct MediaLogEvent; |
13 } | 12 } |
14 | 13 |
15 namespace content { | 14 namespace content { |
16 | 15 |
17 // An embedder may implement MediaObserver and return it from | 16 // An embedder may implement MediaObserver and return it from |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 int render_view_id, | 49 int render_view_id, |
51 const content::MediaStreamDevices& devices) = 0; | 50 const content::MediaStreamDevices& devices) = 0; |
52 | 51 |
53 protected: | 52 protected: |
54 virtual ~MediaObserver() {} | 53 virtual ~MediaObserver() {} |
55 }; | 54 }; |
56 | 55 |
57 } // namespace content | 56 } // namespace content |
58 | 57 |
59 #endif // CONTENT_PUBLIC_BROWSER_MEDIA_OBSERVER_H_ | 58 #endif // CONTENT_PUBLIC_BROWSER_MEDIA_OBSERVER_H_ |
OLD | NEW |