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/browser_main_loop.h" | 5 #include "content/browser/browser_main_loop.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 #include <utility> | 8 #include <utility> |
9 | 9 |
10 #include "base/bind.h" | 10 #include "base/bind.h" |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 #endif | 123 #endif |
124 | 124 |
125 #if defined(OS_WIN) | 125 #if defined(OS_WIN) |
126 #include <windows.h> | 126 #include <windows.h> |
127 #include <commctrl.h> | 127 #include <commctrl.h> |
128 #include <shellapi.h> | 128 #include <shellapi.h> |
129 | 129 |
130 #include "base/memory/memory_pressure_monitor_win.h" | 130 #include "base/memory/memory_pressure_monitor_win.h" |
131 #include "base/win/windows_version.h" | 131 #include "base/win/windows_version.h" |
132 #include "content/browser/screen_orientation/screen_orientation_delegate_win.h" | 132 #include "content/browser/screen_orientation/screen_orientation_delegate_win.h" |
133 #include "content/common/sandbox_win.h" | |
134 #include "net/base/winsock_init.h" | 133 #include "net/base/winsock_init.h" |
135 #include "ui/base/l10n/l10n_util_win.h" | 134 #include "ui/base/l10n/l10n_util_win.h" |
136 #endif | 135 #endif |
137 | 136 |
138 #if defined(OS_CHROMEOS) | 137 #if defined(OS_CHROMEOS) |
139 #include "base/memory/memory_pressure_monitor_chromeos.h" | 138 #include "base/memory/memory_pressure_monitor_chromeos.h" |
140 #include "chromeos/chromeos_switches.h" | 139 #include "chromeos/chromeos_switches.h" |
141 #endif | 140 #endif |
142 | 141 |
143 #if defined(USE_GLIB) | 142 #if defined(USE_GLIB) |
(...skipping 1303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1447 DCHECK(is_tracing_startup_for_duration_); | 1446 DCHECK(is_tracing_startup_for_duration_); |
1448 | 1447 |
1449 is_tracing_startup_for_duration_ = false; | 1448 is_tracing_startup_for_duration_ = false; |
1450 TracingController::GetInstance()->StopTracing( | 1449 TracingController::GetInstance()->StopTracing( |
1451 TracingController::CreateFileSink( | 1450 TracingController::CreateFileSink( |
1452 startup_trace_file_, | 1451 startup_trace_file_, |
1453 base::Bind(OnStoppedStartupTracing, startup_trace_file_))); | 1452 base::Bind(OnStoppedStartupTracing, startup_trace_file_))); |
1454 } | 1453 } |
1455 | 1454 |
1456 } // namespace content | 1455 } // namespace content |
OLD | NEW |