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

Unified Diff: remoting/client/client_context.h

Issue 10843031: Piping for audio decoding. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Changed an #include to a forward declaration Created 8 years, 4 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/client/client_context.h
diff --git a/remoting/client/client_context.h b/remoting/client/client_context.h
index 27a44162d3eaa402928ea48ca661e674231b2af8..af99d4cd7934b5941b685fdbabc2cdac7181d396 100644
--- a/remoting/client/client_context.h
+++ b/remoting/client/client_context.h
@@ -27,15 +27,19 @@ class ClientContext {
void Start();
void Stop();
- base::SingleThreadTaskRunner* main_task_runner();
- base::SingleThreadTaskRunner* decode_task_runner();
+ base::SingleThreadTaskRunner* main_task_runner() const;
Sergey Ulanov 2012/08/03 17:59:55 I don't think that const is justified here. The ta
kxing 2012/08/03 20:55:13 Done.
+ base::SingleThreadTaskRunner* decode_task_runner() const;
+ base::SingleThreadTaskRunner* audio_decode_task_runner() const;
private:
scoped_refptr<base::SingleThreadTaskRunner> main_task_runner_;
- // A thread that handles all decode operations.
+ // A thread that handles all video decode operations.
base::Thread decode_thread_;
+ // A thread that handles all audio decode operations.
+ base::Thread audio_decode_thread_;
+
DISALLOW_COPY_AND_ASSIGN(ClientContext);
};

Powered by Google App Engine
This is Rietveld 408576698