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

Unified Diff: webrtc/modules/utility/source/process_thread_impl.h

Issue 2016043003: Change ProcessThread's task type to be the one from TaskQueue. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Work around issue with STL on Windows Created 4 years, 7 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: webrtc/modules/utility/source/process_thread_impl.h
diff --git a/webrtc/modules/utility/source/process_thread_impl.h b/webrtc/modules/utility/source/process_thread_impl.h
index 330aec946c9d9c56559d7b693a051cc4529ad618..510ab52daf3651285f231aeae66be1aa0e6ad7b0 100644
--- a/webrtc/modules/utility/source/process_thread_impl.h
+++ b/webrtc/modules/utility/source/process_thread_impl.h
@@ -33,7 +33,7 @@ class ProcessThreadImpl : public ProcessThread {
void Stop() override;
void WakeUp(Module* module) override;
- void PostTask(std::unique_ptr<ProcessTask> task) override;
+ void PostTask(std::unique_ptr<rtc::QueuedTask> task) override;
void RegisterModule(Module* module) override;
void DeRegisterModule(Module* module) override;
@@ -75,8 +75,7 @@ class ProcessThreadImpl : public ProcessThread {
std::unique_ptr<rtc::PlatformThread> thread_;
ModuleList modules_;
- // TODO(tommi): Support delayed tasks.
- std::queue<ProcessTask*> queue_;
+ std::queue<rtc::QueuedTask*> queue_;
bool stop_;
const char* thread_name_;
};

Powered by Google App Engine
This is Rietveld 408576698