| 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 "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/file_util.h" | 10 #include "base/files/file_util.h" |
| 11 #include "base/logging.h" | 11 #include "base/logging.h" |
| 12 #include "base/message_loop/message_loop.h" | 12 #include "base/message_loop/message_loop.h" |
| 13 #include "base/metrics/field_trial.h" | 13 #include "base/metrics/field_trial.h" |
| 14 #include "base/metrics/histogram.h" | 14 #include "base/metrics/histogram.h" |
| 15 #include "base/path_service.h" | 15 #include "base/path_service.h" |
| 16 #include "base/pending_task.h" | 16 #include "base/pending_task.h" |
| 17 #include "base/power_monitor/power_monitor.h" | 17 #include "base/power_monitor/power_monitor.h" |
| 18 #include "base/power_monitor/power_monitor_device_source.h" | 18 #include "base/power_monitor/power_monitor_device_source.h" |
| 19 #include "base/process/process_metrics.h" | 19 #include "base/process/process_metrics.h" |
| 20 #include "base/run_loop.h" | 20 #include "base/run_loop.h" |
| (...skipping 1173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1194 &BrowserMainLoop::EndStartupTracing); | 1194 &BrowserMainLoop::EndStartupTracing); |
| 1195 } | 1195 } |
| 1196 | 1196 |
| 1197 void BrowserMainLoop::EndStartupTracing() { | 1197 void BrowserMainLoop::EndStartupTracing() { |
| 1198 is_tracing_startup_ = false; | 1198 is_tracing_startup_ = false; |
| 1199 TracingController::GetInstance()->DisableRecording( | 1199 TracingController::GetInstance()->DisableRecording( |
| 1200 startup_trace_file_, base::Bind(&OnStoppedStartupTracing)); | 1200 startup_trace_file_, base::Bind(&OnStoppedStartupTracing)); |
| 1201 } | 1201 } |
| 1202 | 1202 |
| 1203 } // namespace content | 1203 } // namespace content |
| OLD | NEW |