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

Side by Side Diff: content/browser/media/media_internals.h

Issue 14234023: Remove unused flush operation from Chromium audio. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 months 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
OLDNEW
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_BROWSER_MEDIA_MEDIA_INTERNALS_H_ 5 #ifndef CONTENT_BROWSER_MEDIA_MEDIA_INTERNALS_H_
6 #define CONTENT_BROWSER_MEDIA_MEDIA_INTERNALS_H_ 6 #define CONTENT_BROWSER_MEDIA_MEDIA_INTERNALS_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 21 matching lines...) Expand all
32 32
33 // The following methods are virtual for gmock. 33 // The following methods are virtual for gmock.
34 34
35 // Called when an audio stream is deleted. 35 // Called when an audio stream is deleted.
36 virtual void OnDeleteAudioStream(void* host, int stream_id); 36 virtual void OnDeleteAudioStream(void* host, int stream_id);
37 37
38 // Called when an audio stream is set to playing or paused. 38 // Called when an audio stream is set to playing or paused.
39 virtual void OnSetAudioStreamPlaying(void* host, int stream_id, 39 virtual void OnSetAudioStreamPlaying(void* host, int stream_id,
40 bool playing); 40 bool playing);
41 41
42 // Called when the status of an audio stream is set to "created", "flushed", 42 // Called when the status of an audio stream is set to "created", "closed", or
43 // "closed", or "error". 43 // "error".
44 virtual void OnSetAudioStreamStatus(void* host, int stream_id, 44 virtual void OnSetAudioStreamStatus(void* host, int stream_id,
45 const std::string& status); 45 const std::string& status);
46 46
47 // Called when the volume of an audio stream is set. 47 // Called when the volume of an audio stream is set.
48 virtual void OnSetAudioStreamVolume(void* host, int stream_id, 48 virtual void OnSetAudioStreamVolume(void* host, int stream_id,
49 double volume); 49 double volume);
50 50
51 // Called when a MediaEvent occurs. 51 // Called when a MediaEvent occurs.
52 virtual void OnMediaEvent(int render_process_id, 52 virtual void OnMediaEvent(int render_process_id,
53 const media::MediaLogEvent& event); 53 const media::MediaLogEvent& event);
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 DictionaryValue data_; 87 DictionaryValue data_;
88 88
89 std::vector<UpdateCallback> update_callbacks_; 89 std::vector<UpdateCallback> update_callbacks_;
90 90
91 DISALLOW_COPY_AND_ASSIGN(MediaInternals); 91 DISALLOW_COPY_AND_ASSIGN(MediaInternals);
92 }; 92 };
93 93
94 } // namespace content 94 } // namespace content
95 95
96 #endif // CONTENT_BROWSER_MEDIA_MEDIA_INTERNALS_H_ 96 #endif // CONTENT_BROWSER_MEDIA_MEDIA_INTERNALS_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/renderer_host/media/audio_renderer_host.h » ('j') | media/audio/audio_output_ipc.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698