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

Side by Side Diff: content/browser/browser_main_loop.cc

Issue 10806076: Move ZygoteHost implementation to content/browser/zygote_host (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add an empty line to the OWNERS file Created 8 years, 5 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/browser/OWNERS ('k') | content/browser/child_process_launcher.cc » ('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/browser/browser_main_loop.h" 5 #include "content/browser/browser_main_loop.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/debug/trace_event.h" 9 #include "base/debug/trace_event.h"
10 #include "base/hi_res_timer_manager.h" 10 #include "base/hi_res_timer_manager.h"
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 #include <dbus/dbus-glib.h> 70 #include <dbus/dbus-glib.h>
71 #endif 71 #endif
72 72
73 #if defined(TOOLKIT_GTK) 73 #if defined(TOOLKIT_GTK)
74 #include "ui/gfx/gtk_util.h" 74 #include "ui/gfx/gtk_util.h"
75 #endif 75 #endif
76 76
77 #if defined(OS_POSIX) && !defined(OS_MACOSX) 77 #if defined(OS_POSIX) && !defined(OS_MACOSX)
78 #include <sys/stat.h> 78 #include <sys/stat.h>
79 #include "content/browser/renderer_host/render_sandbox_host_linux.h" 79 #include "content/browser/renderer_host/render_sandbox_host_linux.h"
80 #include "content/browser/zygote_host_impl_linux.h" 80 #include "content/browser/zygote_host/zygote_host_impl_linux.h"
81 #endif 81 #endif
82 82
83 #if defined(USE_X11) 83 #if defined(USE_X11)
84 #include <X11/Xlib.h> 84 #include <X11/Xlib.h>
85 #endif 85 #endif
86 86
87 // One of the linux specific headers defines this as a macro. 87 // One of the linux specific headers defines this as a macro.
88 #ifdef DestroyAll 88 #ifdef DestroyAll
89 #undef DestroyAll 89 #undef DestroyAll
90 #endif 90 #endif
(...skipping 568 matching lines...) Expand 10 before | Expand all | Expand 10 after
659 DCHECK_EQ(MessageLoop::TYPE_UI, MessageLoop::current()->type()); 659 DCHECK_EQ(MessageLoop::TYPE_UI, MessageLoop::current()->type());
660 if (parameters_.ui_task) 660 if (parameters_.ui_task)
661 MessageLoopForUI::current()->PostTask(FROM_HERE, *parameters_.ui_task); 661 MessageLoopForUI::current()->PostTask(FROM_HERE, *parameters_.ui_task);
662 662
663 base::RunLoop run_loop; 663 base::RunLoop run_loop;
664 run_loop.Run(); 664 run_loop.Run();
665 #endif 665 #endif
666 } 666 }
667 667
668 } // namespace content 668 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/OWNERS ('k') | content/browser/child_process_launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698