summaryrefslogtreecommitdiff
path: root/chromium/content/ppapi_plugin
diff options
context:
space:
mode:
authorAndras Becsi <andras.becsi@digia.com>2013-12-11 21:33:03 +0100
committerAndras Becsi <andras.becsi@digia.com>2013-12-13 12:34:07 +0100
commitf2a33ff9cbc6d19943f1c7fbddd1f23d23975577 (patch)
tree0586a32aa390ade8557dfd6b4897f43a07449578 /chromium/content/ppapi_plugin
parent5362912cdb5eea702b68ebe23702468d17c3017a (diff)
downloadqtwebengine-chromium-f2a33ff9cbc6d19943f1c7fbddd1f23d23975577.tar.gz
Update Chromium to branch 1650 (31.0.1650.63)
Change-Id: I57d8c832eaec1eb2364e0a8e7352a6dd354db99f Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
Diffstat (limited to 'chromium/content/ppapi_plugin')
-rw-r--r--chromium/content/ppapi_plugin/ppapi_thread.cc16
1 files changed, 0 insertions, 16 deletions
diff --git a/chromium/content/ppapi_plugin/ppapi_thread.cc b/chromium/content/ppapi_plugin/ppapi_thread.cc
index 73d51ad7c31..2d46807a371 100644
--- a/chromium/content/ppapi_plugin/ppapi_thread.cc
+++ b/chromium/content/ppapi_plugin/ppapi_thread.cc
@@ -101,14 +101,8 @@ PpapiThread::PpapiThread(const CommandLine& command_line, bool is_broker)
// Register interfaces that expect messages from the browser process. Please
// note that only those InterfaceProxy-based ones require registration.
- AddRoute(ppapi::API_ID_PPB_TCPSOCKET,
- &dispatcher_message_listener_);
- AddRoute(ppapi::API_ID_PPB_TCPSOCKET_PRIVATE,
- &dispatcher_message_listener_);
AddRoute(ppapi::API_ID_PPB_HOSTRESOLVER_PRIVATE,
&dispatcher_message_listener_);
- AddRoute(ppapi::API_ID_PPB_NETWORKMANAGER_PRIVATE,
- &dispatcher_message_listener_);
}
PpapiThread::~PpapiThread() {
@@ -119,11 +113,6 @@ void PpapiThread::Shutdown() {
if (plugin_entry_points_.shutdown_module)
plugin_entry_points_.shutdown_module();
WebKit::shutdown();
-
-#if defined(OS_WIN)
- if (permissions_.HasPermission(ppapi::PERMISSION_FLASH))
- base::win::SetShouldCrashOnProcessDetach(false);
-#endif
}
bool PpapiThread::Send(IPC::Message* msg) {
@@ -312,11 +301,6 @@ void PpapiThread::OnLoadPlugin(const base::FilePath& path,
// If code subsequently tries to exit using abort(), force a crash (since
// otherwise these would be silent terminations and fly under the radar).
base::win::SetAbortBehaviorForCrashReporting();
- if (permissions.HasPermission(ppapi::PERMISSION_FLASH)) {
- // Force a crash for exit(), _exit(), or ExitProcess(), but only do that for
- // Pepper Flash.
- base::win::SetShouldCrashOnProcessDetach(true);
- }
// Once we lower the token the sandbox is locked down and no new modules
// can be loaded. TODO(cpu): consider changing to the loading style of