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

Unified Diff: remoting/host/chromoting_host_context.cc

Issue 10911271: Remove CommandLine dependency from the Linux's AudioCapturer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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
Index: remoting/host/chromoting_host_context.cc
diff --git a/remoting/host/chromoting_host_context.cc b/remoting/host/chromoting_host_context.cc
index 37ba9f3785530db2c6bfca425d11233da8e77ca3..6cdd2be1da27735d40d30698fa516288ccaeff6d 100644
--- a/remoting/host/chromoting_host_context.cc
+++ b/remoting/host/chromoting_host_context.cc
@@ -113,4 +113,15 @@ ChromotingHostContext::url_request_context_getter() {
return url_request_context_getter_;
}
+#if defined(OS_LINUX)
+FilePath& ChromotingHostContext::audio_capturer_pipe() {
+ return audio_capturer_pipe_;
+}
+
+void ChromotingHostContext::set_audio_capturer_pipe(const FilePath& value) {
+ DCHECK(ui_task_runner_->BelongsToCurrentThread());
+ audio_capturer_pipe_ = value;
+}
+#endif // OS_LINUX
+
} // namespace remoting

Powered by Google App Engine
This is Rietveld 408576698