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

Unified Diff: mojo/examples/pepper_container_app/mojo_ppapi_globals.cc

Issue 600553002: PPAPI: Disallow blocking callbacks while handling a blocking message (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: try to improve comment Created 6 years, 3 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 | ppapi/api/pp_errors.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/examples/pepper_container_app/mojo_ppapi_globals.cc
diff --git a/mojo/examples/pepper_container_app/mojo_ppapi_globals.cc b/mojo/examples/pepper_container_app/mojo_ppapi_globals.cc
index aaf9b0a7ba1ca5083422777827126d6dc1f7592b..a98ddc776f438bd9d7970125bbf3ddd7ef51a49e 100644
--- a/mojo/examples/pepper_container_app/mojo_ppapi_globals.cc
+++ b/mojo/examples/pepper_container_app/mojo_ppapi_globals.cc
@@ -44,6 +44,10 @@ class MojoPpapiGlobals::MainThreadMessageLoopResource
return main_thread_message_loop_.get();
}
+ virtual bool CurrentlyHandlingBlockingMessage() OVERRIDE {
+ return false;
+ }
+
// ppapi::thunk::PPB_MessageLoop_API implementation.
virtual int32_t AttachToCurrentThread() OVERRIDE {
NOTIMPLEMENTED();
« no previous file with comments | « no previous file | ppapi/api/pp_errors.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698