File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 24
24
#include " base/command_line.h"
25
25
#include " base/files/file_path.h"
26
26
#include " base/file_util.h"
27
- #include " base/linux_util.h"
28
27
#include " base/strings/string_util.h"
29
28
#include " base/strings/string_number_conversions.h"
30
29
#include " base/threading/thread_restrictions.h"
44
43
#include " content/nw/src/api/dispatcher_host.h"
45
44
#include " content/nw/src/breakpad_mac.h"
46
45
#include " content/nw/src/common/shell_switches.h"
47
- #include " content/nw/src/crash_handler_host_linux.h"
48
46
#include " content/nw/src/browser/printing/print_job_manager.h"
49
47
#include " content/nw/src/browser/shell_devtools_delegate.h"
50
48
#include " content/nw/src/browser/shell_resource_dispatcher_host_delegate.h"
63
61
#include " content/common/plugin_list.h"
64
62
#include " content/public/browser/plugin_service.h"
65
63
64
+ #if defined(OS_LINUX)
65
+ #include " base/linux_util.h"
66
+ #include " content/nw/src/crash_handler_host_linux.h"
67
+ #endif
68
+
66
69
using base::FileDescriptor;
67
70
68
71
namespace {
Original file line number Diff line number Diff line change @@ -198,12 +198,12 @@ ContentRendererClient* ShellMainDelegate::CreateContentRendererClient() {
198
198
return renderer_client_.get ();
199
199
}
200
200
201
- void ShellMainDelegate::ZygoteForked () {
202
201
#if defined(OS_POSIX) && !defined(OS_MACOSX)
202
+ void ShellMainDelegate::ZygoteForked () {
203
203
// Needs to be called after we have chrome::DIR_USER_DATA. BrowserMain sets
204
204
// this up for the browser process in a different manner.
205
205
InitCrashReporter ();
206
- #endif
207
206
}
207
+ #endif
208
208
209
209
} // namespace content
You can’t perform that action at this time.
0 commit comments