diff options
author | bbudge@chromium.org <bbudge@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-11 04:37:58 +0000 |
---|---|---|
committer | bbudge@chromium.org <bbudge@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-11 04:37:58 +0000 |
commit | f2d7c0483ea6b5ae61c38cf05b4951c0b5fc89e2 (patch) | |
tree | 05183071323228ff4f6dfe4bc69079e82be9e0df /ppapi/shared_impl/test_globals.cc | |
parent | bfcf1e9985d66f1ec405154e994ab2966a26e0c0 (diff) | |
download | chromium_src-f2d7c0483ea6b5ae61c38cf05b4951c0b5fc89e2.zip chromium_src-f2d7c0483ea6b5ae61c38cf05b4951c0b5fc89e2.tar.gz chromium_src-f2d7c0483ea6b5ae61c38cf05b4951c0b5fc89e2.tar.bz2 |
Add GetFileThreadMessageLoop method to PpapiGlobals.
This is needed to implement performance critical FileIO functions
on the plugin side.
BUG=194304
Review URL: https://chromiumcodereview.appspot.com/18144004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211019 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/shared_impl/test_globals.cc')
-rw-r--r-- | ppapi/shared_impl/test_globals.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ppapi/shared_impl/test_globals.cc b/ppapi/shared_impl/test_globals.cc index 6c6af5b..133b943 100644 --- a/ppapi/shared_impl/test_globals.cc +++ b/ppapi/shared_impl/test_globals.cc @@ -75,6 +75,10 @@ MessageLoopShared* TestGlobals::GetCurrentMessageLoop() { return NULL; } +base::TaskRunner* TestGlobals::GetFileTaskRunner(PP_Instance instance) { + return NULL; +} + bool TestGlobals::IsHostGlobals() const { // Pretend to be the host-side, for code that expects one or the other. // TODO(dmichael): just make it settable which one we're pretending to be? |