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

Unified Diff: remoting/host/ipc_audio_capturer.h

Issue 11761019: Tiny little refactoring of DesktopEnvironment. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 12 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/host/host_mock_objects.cc ('k') | remoting/host/ipc_audio_capturer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/ipc_audio_capturer.h
diff --git a/remoting/host/ipc_audio_capturer.h b/remoting/host/ipc_audio_capturer.h
index f6048b47472dd200c512c331593426871a2e55a2..f49facbc51f63a08ca7dc61ddda5ff63773537db 100644
--- a/remoting/host/ipc_audio_capturer.h
+++ b/remoting/host/ipc_audio_capturer.h
@@ -26,18 +26,15 @@ class IpcAudioCapturer : public AudioCapturer {
virtual void Stop() OVERRIDE;
virtual bool IsStarted() OVERRIDE;
- // Called by DesktopSessionProxy when an audio packet was received.
- void OnAudioPacket(scoped_ptr<AudioPacket> packet);
-
private:
- // Invoked when an audio packet was received.
- PacketCapturedCallback callback_;
-
// Wraps the IPC channel to the desktop session agent.
scoped_refptr<DesktopSessionProxy> desktop_session_proxy_;
base::ThreadChecker thread_checker_;
+ // True if the capturer has been started.
+ bool started_;
+
DISALLOW_COPY_AND_ASSIGN(IpcAudioCapturer);
};
« no previous file with comments | « remoting/host/host_mock_objects.cc ('k') | remoting/host/ipc_audio_capturer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698