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

Unified Diff: base/threading/thread_restrictions.h

Issue 18584006: Making a way to create thread with a Java Looper for Android (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update comment for TYPE_JAVA Created 7 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: base/threading/thread_restrictions.h
diff --git a/base/threading/thread_restrictions.h b/base/threading/thread_restrictions.h
index 6490b047fa4615eafac554347db82084828c644f..595b97060e0d1274db4ee6167f00030079b35796 100644
--- a/base/threading/thread_restrictions.h
+++ b/base/threading/thread_restrictions.h
@@ -73,6 +73,10 @@ class AutoThread;
namespace base {
+namespace android {
+class JavaHandlerThread;
+}
+
class SequencedWorkerPool;
class SimpleThread;
class Thread;
@@ -185,6 +189,7 @@ class BASE_EXPORT ThreadRestrictions {
friend class Thread;
friend class ThreadTestHelper;
friend class PlatformThread;
+ friend class android::JavaHandlerThread;
// END ALLOWED USAGE.
// BEGIN USAGE THAT NEEDS TO BE FIXED.
« no previous file with comments | « base/message_loop/message_loop.cc ('k') | chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698