diff options
author | dmichael@chromium.org <dmichael@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-29 19:18:41 +0000 |
---|---|---|
committer | dmichael@chromium.org <dmichael@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-29 19:18:41 +0000 |
commit | 460d2fd0876fddb9e6a2a17cba9c70beb93dfa03 (patch) | |
tree | 4e0cf902613ff0a64a7fa69959e48a0160bbf2f2 /ppapi/proxy/plugin_globals.h | |
parent | b26ac3b182b8c63192ad1f8e221ceac3fe5927be (diff) | |
download | chromium_src-460d2fd0876fddb9e6a2a17cba9c70beb93dfa03.zip chromium_src-460d2fd0876fddb9e6a2a17cba9c70beb93dfa03.tar.gz chromium_src-460d2fd0876fddb9e6a2a17cba9c70beb93dfa03.tar.bz2 |
PPAPI: Remove threading options; it's always on
This also re-enables thread checking for the host side resource and var trackers. Before, checking was disabled everywhere.
BUG=159240,92909
Committed: r186925
Reverted: r186939 due to build errors
Committed: r187340
Committed: r187427
Reverted: r187668 due to a failing check in Canary, which was fixed here: r187681
Committed: r189518
Reverted: r189682, due to regression in Kraken (see crbug.com/222741)
Review URL: https://chromiumcodereview.appspot.com/12378050
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191420 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/proxy/plugin_globals.h')
-rw-r--r-- | ppapi/proxy/plugin_globals.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/ppapi/proxy/plugin_globals.h b/ppapi/proxy/plugin_globals.h index 4da6d5f..37fdc1a 100644 --- a/ppapi/proxy/plugin_globals.h +++ b/ppapi/proxy/plugin_globals.h @@ -114,10 +114,6 @@ class PPAPI_PROXY_EXPORT PluginGlobals : public PpapiGlobals { // The embedder should call this function when the command line is known. void set_command_line(const std::string& c) { command_line_ = c; } - // Sets whether threadsafety is supported. Defaults to whether the - // ENABLE_PEPPER_THREADING build flag is set. - void set_enable_threading(bool enable) { enable_threading_ = enable; } - private: class BrowserSender; @@ -131,7 +127,6 @@ class PPAPI_PROXY_EXPORT PluginGlobals : public PpapiGlobals { PluginVarTracker plugin_var_tracker_; scoped_refptr<CallbackTracker> callback_tracker_; - bool enable_threading_; // Indicates whether we'll use the lock. base::Lock proxy_lock_; scoped_ptr<base::ThreadLocalStorage::Slot> msg_loop_slot_; |