OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 #include "content/browser/tracing/tracing_controller_impl.h" | 4 #include "content/browser/tracing/tracing_controller_impl.h" |
5 | 5 |
6 #include "base/bind.h" | 6 #include "base/bind.h" |
7 #include "base/debug/trace_event.h" | |
8 #include "base/files/file_util.h" | 7 #include "base/files/file_util.h" |
9 #include "base/json/string_escape.h" | 8 #include "base/json/string_escape.h" |
10 #include "base/macros.h" | 9 #include "base/macros.h" |
11 #include "base/strings/string_number_conversions.h" | 10 #include "base/strings/string_number_conversions.h" |
| 11 #include "base/trace_event/trace_event.h" |
12 #include "content/browser/tracing/trace_message_filter.h" | 12 #include "content/browser/tracing/trace_message_filter.h" |
13 #include "content/browser/tracing/tracing_ui.h" | 13 #include "content/browser/tracing/tracing_ui.h" |
14 #include "content/common/child_process_messages.h" | 14 #include "content/common/child_process_messages.h" |
15 #include "content/public/browser/browser_message_filter.h" | 15 #include "content/public/browser/browser_message_filter.h" |
16 #include "content/public/common/content_switches.h" | 16 #include "content/public/common/content_switches.h" |
17 | 17 |
18 #if defined(OS_CHROMEOS) | 18 #if defined(OS_CHROMEOS) |
19 #include "chromeos/dbus/dbus_thread_manager.h" | 19 #include "chromeos/dbus/dbus_thread_manager.h" |
20 #include "chromeos/dbus/debug_daemon_client.h" | 20 #include "chromeos/dbus/debug_daemon_client.h" |
21 #endif | 21 #endif |
(...skipping 861 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
883 is_monitoring_ = is_monitoring; | 883 is_monitoring_ = is_monitoring; |
884 #if !defined(OS_ANDROID) | 884 #if !defined(OS_ANDROID) |
885 for (std::set<TracingUI*>::iterator it = tracing_uis_.begin(); | 885 for (std::set<TracingUI*>::iterator it = tracing_uis_.begin(); |
886 it != tracing_uis_.end(); it++) { | 886 it != tracing_uis_.end(); it++) { |
887 (*it)->OnMonitoringStateChanged(is_monitoring); | 887 (*it)->OnMonitoringStateChanged(is_monitoring); |
888 } | 888 } |
889 #endif | 889 #endif |
890 } | 890 } |
891 | 891 |
892 } // namespace content | 892 } // namespace content |
OLD | NEW |