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

Unified Diff: ppapi/utility/threading/simple_thread.h

Issue 11364188: PPAPI: Take PPB_MessageLoop out of Dev (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 8 years, 1 month 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 | « ppapi/tests/test_utils.cc ('k') | ppapi/utility/threading/simple_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/utility/threading/simple_thread.h
diff --git a/ppapi/utility/threading/simple_thread.h b/ppapi/utility/threading/simple_thread.h
index d60a43d1fb4d165f978a0f526462569ef62cbc9c..b3ccd9bb7b221852e395b2291b98d2ca0c395744 100644
--- a/ppapi/utility/threading/simple_thread.h
+++ b/ppapi/utility/threading/simple_thread.h
@@ -11,8 +11,8 @@
#include <pthread.h>
#endif
-#include "ppapi/cpp/dev/message_loop_dev.h"
#include "ppapi/cpp/instance_handle.h"
+#include "ppapi/cpp/message_loop.h"
namespace pp {
@@ -26,7 +26,7 @@ class SimpleThread {
typedef pthread_t ThreadHandle;
#endif
- typedef void (*ThreadFunc)(MessageLoop_Dev&, void* user_data);
+ typedef void (*ThreadFunc)(MessageLoop&, void* user_data);
explicit SimpleThread(const InstanceHandle& instance);
~SimpleThread();
@@ -46,12 +46,12 @@ class SimpleThread {
// is NULL, this acts the same as Start().
bool StartWithFunction(ThreadFunc func, void* user_data);
- MessageLoop_Dev& message_loop() { return message_loop_; }
+ MessageLoop& message_loop() { return message_loop_; }
ThreadHandle thread() const { return thread_; }
private:
InstanceHandle instance_;
- MessageLoop_Dev message_loop_;
+ MessageLoop message_loop_;
ThreadHandle thread_;
« no previous file with comments | « ppapi/tests/test_utils.cc ('k') | ppapi/utility/threading/simple_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698