|
Mojo: add support for disallowing sync calls for a process.
This CLs introduce a new system API to expose the configuration whether sync calls are allowed to mojo apps.
The bindings check this configuration before processing a sync call (if DCHECK is enabled).
This CL also disables sync calls for the browser process.
BUG= 620733
Committed: https://crrev.com/519639829bd17eaae4b147f7a96cbd1406fc6244
Cr-Commit-Position: refs/heads/master@{#401076}
Total comments: 4
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+276 lines, -7 lines) |
Patch |
 |
M |
base/threading/thread_restrictions.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
components/mus/common/gpu_service.cc
|
View
|
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/browser/browser_main_loop.cc
|
View
|
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
mojo/edk/embedder/embedder.h
|
View
|
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
M |
mojo/edk/embedder/embedder.cc
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
mojo/edk/embedder/entrypoints.cc
|
View
|
|
2 chunks |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
mojo/edk/system/core.h
|
View
|
|
3 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
mojo/edk/system/core.cc
|
View
|
|
2 chunks |
+22 lines, -0 lines |
0 comments
|
Download
|
 |
M |
mojo/mojo_public.gypi
|
View
|
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
mojo/public/c/system/functions.h
|
View
|
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
mojo/public/c/system/thunks.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
mojo/public/c/system/thunks.cc
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
mojo/public/c/system/types.h
|
View
|
|
1 chunk |
+14 lines, -0 lines |
0 comments
|
Download
|
 |
M |
mojo/public/cpp/bindings/BUILD.gn
|
View
|
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
mojo/public/cpp/bindings/lib/interface_endpoint_client.cc
|
View
|
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
mojo/public/cpp/bindings/lib/router.cc
|
View
|
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
A |
mojo/public/cpp/bindings/lib/sync_call_restrictions.cc
|
View
|
1
2
|
1 chunk |
+91 lines, -0 lines |
0 comments
|
Download
|
 |
A |
mojo/public/cpp/bindings/sync_call_restrictions.h
|
View
|
1
|
1 chunk |
+83 lines, -0 lines |
0 comments
|
Download
|
Total messages: 12 (4 generated)
|