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

Unified Diff: base/threading/thread_restrictions.h

Issue 1566573002: Fix race on mojo message pump shutdown. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mojo-waitset-message-pump
Patch Set: Revert stuff. Created 4 years, 11 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
« no previous file with comments | « base/message_loop/message_loop.cc ('k') | mojo/message_pump/handle_watcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/threading/thread_restrictions.h
diff --git a/base/threading/thread_restrictions.h b/base/threading/thread_restrictions.h
index f0d3faf6592b1777b01a2962ba4362b53de2e38d..76374467c9f943a9aa4a8e87d042940629fc00a3 100644
--- a/base/threading/thread_restrictions.h
+++ b/base/threading/thread_restrictions.h
@@ -56,6 +56,11 @@ class InFlightIO;
namespace gles2 {
class CommandBufferClientImpl;
}
+namespace mojo {
+namespace common {
+class MessagePumpMojo;
+}
+}
namespace net {
class NetworkChangeNotifierMac;
namespace internal {
@@ -199,6 +204,7 @@ class BASE_EXPORT ThreadRestrictions {
friend class PlatformThread;
friend class android::JavaHandlerThread;
friend class gles2::CommandBufferClientImpl;
+ friend class mojo::common::MessagePumpMojo;
// END ALLOWED USAGE.
// BEGIN USAGE THAT NEEDS TO BE FIXED.
« no previous file with comments | « base/message_loop/message_loop.cc ('k') | mojo/message_pump/handle_watcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698