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

Side by Side Diff: content/ppapi_plugin/ppapi_thread.cc

Issue 8277018: Move content_switches to content\public\common. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 months 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/ppapi_plugin/ppapi_plugin_main.cc ('k') | content/public/common/content_switches.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/ppapi_plugin/ppapi_thread.h" 5 #include "content/ppapi_plugin/ppapi_thread.h"
6 6
7 #include <limits> 7 #include <limits>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/process_util.h" 10 #include "base/process_util.h"
11 #include "base/rand_util.h" 11 #include "base/rand_util.h"
12 #include "base/stringprintf.h" 12 #include "base/stringprintf.h"
13 #include "content/common/child_process.h" 13 #include "content/common/child_process.h"
14 #include "content/common/content_switches.h"
15 #include "content/common/sandbox_init_wrapper.h" 14 #include "content/common/sandbox_init_wrapper.h"
16 #include "content/ppapi_plugin/broker_process_dispatcher.h" 15 #include "content/ppapi_plugin/broker_process_dispatcher.h"
17 #include "content/ppapi_plugin/plugin_process_dispatcher.h" 16 #include "content/ppapi_plugin/plugin_process_dispatcher.h"
18 #include "content/ppapi_plugin/ppapi_webkit_thread.h" 17 #include "content/ppapi_plugin/ppapi_webkit_thread.h"
18 #include "content/public/common/content_switches.h"
19 #include "ipc/ipc_channel_handle.h" 19 #include "ipc/ipc_channel_handle.h"
20 #include "ipc/ipc_sync_channel.h" 20 #include "ipc/ipc_sync_channel.h"
21 #include "ppapi/c/dev/ppp_network_state_dev.h" 21 #include "ppapi/c/dev/ppp_network_state_dev.h"
22 #include "ppapi/c/pp_errors.h" 22 #include "ppapi/c/pp_errors.h"
23 #include "ppapi/c/ppp.h" 23 #include "ppapi/c/ppp.h"
24 #include "ppapi/proxy/ppapi_messages.h" 24 #include "ppapi/proxy/ppapi_messages.h"
25 #include "ppapi/proxy/interface_list.h" 25 #include "ppapi/proxy/interface_list.h"
26 #include "webkit/plugins/ppapi/webkit_forwarding_impl.h" 26 #include "webkit/plugins/ppapi/webkit_forwarding_impl.h"
27 27
28 #if defined(OS_WIN) 28 #if defined(OS_WIN)
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 #if defined(OS_POSIX) 301 #if defined(OS_POSIX)
302 // On POSIX, pass the renderer-side FD. 302 // On POSIX, pass the renderer-side FD.
303 handle->socket = base::FileDescriptor(::dup(dispatcher->GetRendererFD()), 303 handle->socket = base::FileDescriptor(::dup(dispatcher->GetRendererFD()),
304 true); 304 true);
305 #endif 305 #endif
306 306
307 // From here, the dispatcher will manage its own lifetime according to the 307 // From here, the dispatcher will manage its own lifetime according to the
308 // lifetime of the attached channel. 308 // lifetime of the attached channel.
309 return true; 309 return true;
310 } 310 }
OLDNEW
« no previous file with comments | « content/ppapi_plugin/ppapi_plugin_main.cc ('k') | content/public/common/content_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698