summaryrefslogtreecommitdiffstats
path: root/remoting/host/linux/audio_pipe_reader.h
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-02 05:12:33 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-02 05:12:33 +0000
commita3ef4830d5b5fdc52e5d7d0cb33dae8844f0961e (patch)
treebdd4dac76e6034ef6cf33450e203269a715ea0e6 /remoting/host/linux/audio_pipe_reader.h
parent8bc574c57115e9ffd0169f33131c0865997dcb35 (diff)
downloadchromium_src-a3ef4830d5b5fdc52e5d7d0cb33dae8844f0961e.zip
chromium_src-a3ef4830d5b5fdc52e5d7d0cb33dae8844f0961e.tar.gz
chromium_src-a3ef4830d5b5fdc52e5d7d0cb33dae8844f0961e.tar.bz2
Add FilePath to base namespace.
This updates headers that forward-declare it and a few random places to use the namespace explicitly. There us a using declaration in file_path.h that makes the rest compile, which we can do in future passes. Review URL: https://codereview.chromium.org/12163003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180245 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host/linux/audio_pipe_reader.h')
-rw-r--r--remoting/host/linux/audio_pipe_reader.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/remoting/host/linux/audio_pipe_reader.h b/remoting/host/linux/audio_pipe_reader.h
index b0c56e7..a373ac3 100644
--- a/remoting/host/linux/audio_pipe_reader.h
+++ b/remoting/host/linux/audio_pipe_reader.h
@@ -12,7 +12,9 @@
#include "base/time.h"
#include "base/timer.h"
+namespace base {
class FilePath;
+}
namespace remoting {
@@ -33,7 +35,7 @@ class AudioPipeReader
// |task_runner| specifies the IO thread to use to read data from the pipe.
static scoped_refptr<AudioPipeReader> Create(
scoped_refptr<base::SingleThreadTaskRunner> task_runner,
- const FilePath& pipe_name);
+ const base::FilePath& pipe_name);
// Register or unregister an observer. Each observer receives data on the
// thread on which it was registered and guaranteed not to be called after
@@ -53,7 +55,7 @@ class AudioPipeReader
AudioPipeReader(scoped_refptr<base::SingleThreadTaskRunner> task_runner);
virtual ~AudioPipeReader();
- void StartOnAudioThread(const FilePath& pipe_name);
+ void StartOnAudioThread(const base::FilePath& pipe_name);
void StartTimer();
void DoCapture();
void WaitForPipeReadable();