OLD | NEW |
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/browser/ppapi_plugin_process_host.h" | 5 #include "content/browser/ppapi_plugin_process_host.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <utility> | 10 #include <utility> |
(...skipping 14 matching lines...) Expand all Loading... |
25 #include "content/common/content_switches_internal.h" | 25 #include "content/common/content_switches_internal.h" |
26 #include "content/public/browser/content_browser_client.h" | 26 #include "content/public/browser/content_browser_client.h" |
27 #include "content/public/common/content_constants.h" | 27 #include "content/public/common/content_constants.h" |
28 #include "content/public/common/content_switches.h" | 28 #include "content/public/common/content_switches.h" |
29 #include "content/public/common/mojo_channel_switches.h" | 29 #include "content/public/common/mojo_channel_switches.h" |
30 #include "content/public/common/pepper_plugin_info.h" | 30 #include "content/public/common/pepper_plugin_info.h" |
31 #include "content/public/common/process_type.h" | 31 #include "content/public/common/process_type.h" |
32 #include "content/public/common/sandbox_type.h" | 32 #include "content/public/common/sandbox_type.h" |
33 #include "content/public/common/sandboxed_process_launcher_delegate.h" | 33 #include "content/public/common/sandboxed_process_launcher_delegate.h" |
34 #include "content/public/common/service_names.h" | 34 #include "content/public/common/service_names.h" |
35 #include "ipc/ipc_switches.h" | |
36 #include "mojo/edk/embedder/embedder.h" | 35 #include "mojo/edk/embedder/embedder.h" |
37 #include "net/base/network_change_notifier.h" | 36 #include "net/base/network_change_notifier.h" |
38 #include "ppapi/proxy/ppapi_messages.h" | 37 #include "ppapi/proxy/ppapi_messages.h" |
39 #include "ui/base/ui_base_switches.h" | 38 #include "ui/base/ui_base_switches.h" |
40 | 39 |
41 #if defined(OS_POSIX) | 40 #if defined(OS_POSIX) |
42 #include "content/public/browser/zygote_handle_linux.h" | 41 #include "content/public/browser/zygote_handle_linux.h" |
43 #endif // defined(OS_POSIX) | 42 #endif // defined(OS_POSIX) |
44 | 43 |
45 #if defined(OS_WIN) | 44 #if defined(OS_WIN) |
(...skipping 514 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
560 // sent_requests_ queue should be the one that the plugin just created. | 559 // sent_requests_ queue should be the one that the plugin just created. |
561 Client* client = sent_requests_.front(); | 560 Client* client = sent_requests_.front(); |
562 sent_requests_.pop(); | 561 sent_requests_.pop(); |
563 | 562 |
564 const ChildProcessData& data = process_->GetData(); | 563 const ChildProcessData& data = process_->GetData(); |
565 client->OnPpapiChannelOpened(channel_handle, base::GetProcId(data.handle), | 564 client->OnPpapiChannelOpened(channel_handle, base::GetProcId(data.handle), |
566 data.id); | 565 data.id); |
567 } | 566 } |
568 | 567 |
569 } // namespace content | 568 } // namespace content |
OLD | NEW |