From 77c3417c441feac4bdcbad88f5a6bbf7f77bfe8f Mon Sep 17 00:00:00 2001 From: "dmichael@chromium.org" Date: Thu, 8 Nov 2012 18:55:16 +0000 Subject: PPAPI: Make CompletionCallbacks work right on background threads. Now, TrackedCallback::Run will: -Run the callback immediately if it is on the right thread. -PostRun to the correct thread if it is not. This was preceded by https://chromiumcodereview.appspot.com/10909244/, which removed ClearAndRun and does some other little cleanups to TrackedCallback to make it usable on background threads. BUG=92909 Review URL: https://chromiumcodereview.appspot.com/10910099 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166719 0039d316-1c4b-4281-b951-d872f2087c98 --- ppapi/proxy/plugin_globals.h | 1 + 1 file changed, 1 insertion(+) (limited to 'ppapi/proxy/plugin_globals.h') diff --git a/ppapi/proxy/plugin_globals.h b/ppapi/proxy/plugin_globals.h index 2bbc3f9..215ad63 100644 --- a/ppapi/proxy/plugin_globals.h +++ b/ppapi/proxy/plugin_globals.h @@ -56,6 +56,7 @@ class PPAPI_PROXY_EXPORT PluginGlobals : public PpapiGlobals { PP_LogLevel_Dev level, const std::string& source, const std::string& value) OVERRIDE; + virtual MessageLoopShared* GetCurrentMessageLoop() OVERRIDE; // Getters for the plugin-specific versions. PluginResourceTracker* plugin_resource_tracker() { -- cgit v1.1