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

Unified Diff: remoting/host/chromoting_host_context.h

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
« no previous file with comments | « remoting/host/chromoting_host.cc ('k') | remoting/host/chromoting_host_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/chromoting_host_context.h
diff --git a/remoting/host/chromoting_host_context.h b/remoting/host/chromoting_host_context.h
index 2e3c8e79a0546ab2e7660ef8740d7ffb53e098ef..31c4118bddde75fc6949a8914530571ba002d5af 100644
--- a/remoting/host/chromoting_host_context.h
+++ b/remoting/host/chromoting_host_context.h
@@ -5,6 +5,7 @@
#ifndef REMOTING_HOST_CHROMOTING_HOST_CONTEXT_H_
#define REMOTING_HOST_CHROMOTING_HOST_CONTEXT_H_
+#include "base/file_path.h"
#include "base/gtest_prod_util.h"
#include "base/memory/ref_counted.h"
#include "base/threading/thread.h"
@@ -71,6 +72,12 @@ class ChromotingHostContext {
const scoped_refptr<net::URLRequestContextGetter>&
url_request_context_getter();
+#if defined(OS_LINUX)
+ // The path for the pipe used by the Linux's audio capturer.
Lambros 2012/09/13 00:18:27 nit: remove "'s" ?
Sergey Ulanov 2012/09/13 01:13:02 Done.
+ FilePath& audio_capturer_pipe();
+ void set_audio_capturer_pipe(const FilePath& value);
+#endif // OS_LINUX
+
private:
FRIEND_TEST_ALL_PREFIXES(ChromotingHostContextTest, StartAndStop);
@@ -105,6 +112,8 @@ class ChromotingHostContext {
scoped_refptr<net::URLRequestContextGetter> url_request_context_getter_;
+ FilePath audio_capturer_pipe_;
+
DISALLOW_COPY_AND_ASSIGN(ChromotingHostContext);
};
« no previous file with comments | « remoting/host/chromoting_host.cc ('k') | remoting/host/chromoting_host_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698