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

Side by Side Diff: content/plugin/plugin_channel.cc

Issue 63253002: Rename WebKit namespace to blink (part 3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/common/worker_messages.h ('k') | content/plugin/webplugin_delegate_stub.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/plugin/plugin_channel.h" 5 #include "content/plugin/plugin_channel.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/process/process_handle.h" 9 #include "base/process/process_handle.h"
10 #include "base/strings/string_util.h" 10 #include "base/strings/string_util.h"
11 #include "base/synchronization/lock.h" 11 #include "base/synchronization/lock.h"
12 #include "base/synchronization/waitable_event.h" 12 #include "base/synchronization/waitable_event.h"
13 #include "build/build_config.h" 13 #include "build/build_config.h"
14 #include "content/child/child_process.h" 14 #include "content/child/child_process.h"
15 #include "content/child/npapi/plugin_instance.h" 15 #include "content/child/npapi/plugin_instance.h"
16 #include "content/child/npapi/webplugin_delegate_impl.h" 16 #include "content/child/npapi/webplugin_delegate_impl.h"
17 #include "content/child/plugin_messages.h" 17 #include "content/child/plugin_messages.h"
18 #include "content/common/plugin_process_messages.h" 18 #include "content/common/plugin_process_messages.h"
19 #include "content/plugin/plugin_thread.h" 19 #include "content/plugin/plugin_thread.h"
20 #include "content/plugin/webplugin_delegate_stub.h" 20 #include "content/plugin/webplugin_delegate_stub.h"
21 #include "content/plugin/webplugin_proxy.h" 21 #include "content/plugin/webplugin_proxy.h"
22 #include "content/public/common/content_switches.h" 22 #include "content/public/common/content_switches.h"
23 #include "third_party/WebKit/public/web/WebBindings.h" 23 #include "third_party/WebKit/public/web/WebBindings.h"
24 24
25 #if defined(OS_POSIX) 25 #if defined(OS_POSIX)
26 #include "base/posix/eintr_wrapper.h" 26 #include "base/posix/eintr_wrapper.h"
27 #include "ipc/ipc_channel_posix.h" 27 #include "ipc/ipc_channel_posix.h"
28 #endif 28 #endif
29 29
30 using WebKit::WebBindings; 30 using blink::WebBindings;
31 31
32 namespace content { 32 namespace content {
33 33
34 namespace { 34 namespace {
35 35
36 void PluginReleaseCallback() { 36 void PluginReleaseCallback() {
37 ChildProcess::current()->ReleaseProcess(); 37 ChildProcess::current()->ReleaseProcess();
38 } 38 }
39 39
40 // How long we wait before releasing the plugin process. 40 // How long we wait before releasing the plugin process.
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after
336 void PluginChannel::OnDidAbortLoading(int render_view_id) { 336 void PluginChannel::OnDidAbortLoading(int render_view_id) {
337 for (size_t i = 0; i < plugin_stubs_.size(); ++i) { 337 for (size_t i = 0; i < plugin_stubs_.size(); ++i) {
338 if (plugin_stubs_[i]->webplugin()->host_render_view_routing_id() == 338 if (plugin_stubs_[i]->webplugin()->host_render_view_routing_id() ==
339 render_view_id) { 339 render_view_id) {
340 plugin_stubs_[i]->delegate()->instance()->CloseStreams(); 340 plugin_stubs_[i]->delegate()->instance()->CloseStreams();
341 } 341 }
342 } 342 }
343 } 343 }
344 344
345 } // namespace content 345 } // namespace content
OLDNEW
« no previous file with comments | « content/common/worker_messages.h ('k') | content/plugin/webplugin_delegate_stub.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698