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

Unified Diff: base/threading/thread_restrictions.h

Issue 2084993002: Mojo: add support for disallowing sync calls for a process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 6 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 | « no previous file | components/mus/common/gpu_service.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 a8d784dcfb07b9fd6b8dc2dd79bc909e2e77f180..0c50416c92a41abb7de7433f6de82933cd72738d 100644
--- a/base/threading/thread_restrictions.h
+++ b/base/threading/thread_restrictions.h
@@ -60,11 +60,11 @@ namespace mojo {
namespace common {
class MessagePumpMojo;
}
+class SyncCallRestrictions;
}
namespace mus {
class CommandBufferClientImpl;
class CommandBufferLocal;
-class GpuService;
class GpuState;
}
namespace net {
@@ -212,9 +212,9 @@ class BASE_EXPORT ThreadRestrictions {
friend class PlatformThread;
friend class android::JavaHandlerThread;
friend class mojo::common::MessagePumpMojo;
+ friend class mojo::SyncCallRestrictions;
friend class mus::CommandBufferClientImpl;
friend class mus::CommandBufferLocal;
- friend class mus::GpuService; // http://crbug.com/620058
friend class mus::GpuState;
// END ALLOWED USAGE.
« no previous file with comments | « no previous file | components/mus/common/gpu_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698