Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Side by Side Diff: content/browser/renderer_host/media/audio_input_device_manager_event_handler.h

Issue 8463010: Add CONTENT_EXPORT AudioInputRendererHost to fix the shared build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Added export for base class too Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | content/browser/renderer_host/media/audio_input_renderer_host.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 // AudioInputDeviceManagerEventHandler is used to signal events from 5 // AudioInputDeviceManagerEventHandler is used to signal events from
6 // AudioInoutDeviceManager when it's time to start and stop devices. 6 // AudioInoutDeviceManager when it's time to start and stop devices.
7 7
8 #ifndef CONTENT_BROWSER_RENDERER_HOST_MEDIA_AUDIO_INPUT_DEVICE_MANAGER_EVENT_HAN DLER_H_ 8 #ifndef CONTENT_BROWSER_RENDERER_HOST_MEDIA_AUDIO_INPUT_DEVICE_MANAGER_EVENT_HAN DLER_H_
9 #define CONTENT_BROWSER_RENDERER_HOST_MEDIA_AUDIO_INPUT_DEVICE_MANAGER_EVENT_HAN DLER_H_ 9 #define CONTENT_BROWSER_RENDERER_HOST_MEDIA_AUDIO_INPUT_DEVICE_MANAGER_EVENT_HAN DLER_H_
10 10
11 #include "content/common/content_export.h"
12
11 namespace media_stream { 13 namespace media_stream {
12 14
13 class AudioInputDeviceManagerEventHandler { 15 class CONTENT_EXPORT AudioInputDeviceManagerEventHandler {
14 public: 16 public:
15 // Called by AudioInputDeviceManager to create an audio stream using the 17 // Called by AudioInputDeviceManager to create an audio stream using the
16 // device index when the device has been started. 18 // device index when the device has been started.
17 virtual void OnDeviceStarted(int session_id, int index) = 0; 19 virtual void OnDeviceStarted(int session_id, int index) = 0;
18 20
19 // Called by AudioInputDeviceManager to stop the audio stream when a device 21 // Called by AudioInputDeviceManager to stop the audio stream when a device
20 // has been stopped. This method is used only when users call Close() without 22 // has been stopped. This method is used only when users call Close() without
21 // calling Stop() on a started device. 23 // calling Stop() on a started device.
22 virtual void OnDeviceStopped(int session_id) = 0; 24 virtual void OnDeviceStopped(int session_id) = 0;
23 25
24 virtual ~AudioInputDeviceManagerEventHandler() {} 26 virtual ~AudioInputDeviceManagerEventHandler() {}
25 }; 27 };
26 28
27 } // namespace media_stream 29 } // namespace media_stream
28 30
29 #endif // CONTENT_BROWSER_RENDERER_HOST_MEDIA_AUDIO_INPUT_DEVICE_MANAGER_EVENT_ HANDLER_H_ 31 #endif // CONTENT_BROWSER_RENDERER_HOST_MEDIA_AUDIO_INPUT_DEVICE_MANAGER_EVENT_ HANDLER_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/renderer_host/media/audio_input_renderer_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698