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 "base/debug/trace_event_unittest.h" | 5 #include "base/trace_event/trace_event_unittest.h" |
6 | 6 |
7 #include <math.h> | 7 #include <math.h> |
8 #include <cstdlib> | 8 #include <cstdlib> |
9 | 9 |
10 #include "base/bind.h" | 10 #include "base/bind.h" |
11 #include "base/command_line.h" | 11 #include "base/command_line.h" |
12 #include "base/debug/trace_event.h" | |
13 #include "base/debug/trace_event_synthetic_delay.h" | |
14 #include "base/json/json_reader.h" | 12 #include "base/json/json_reader.h" |
15 #include "base/json/json_writer.h" | 13 #include "base/json/json_writer.h" |
16 #include "base/memory/ref_counted_memory.h" | 14 #include "base/memory/ref_counted_memory.h" |
17 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
18 #include "base/memory/singleton.h" | 16 #include "base/memory/singleton.h" |
19 #include "base/process/process_handle.h" | 17 #include "base/process/process_handle.h" |
20 #include "base/strings/stringprintf.h" | 18 #include "base/strings/stringprintf.h" |
21 #include "base/synchronization/waitable_event.h" | 19 #include "base/synchronization/waitable_event.h" |
22 #include "base/threading/platform_thread.h" | 20 #include "base/threading/platform_thread.h" |
23 #include "base/threading/thread.h" | 21 #include "base/threading/thread.h" |
24 #include "base/time/time.h" | 22 #include "base/time/time.h" |
| 23 #include "base/trace_event/trace_event.h" |
| 24 #include "base/trace_event/trace_event_synthetic_delay.h" |
25 #include "base/values.h" | 25 #include "base/values.h" |
26 #include "testing/gmock/include/gmock/gmock.h" | 26 #include "testing/gmock/include/gmock/gmock.h" |
27 #include "testing/gtest/include/gtest/gtest.h" | 27 #include "testing/gtest/include/gtest/gtest.h" |
28 | 28 |
29 namespace base { | 29 namespace base { |
30 namespace debug { | 30 namespace debug { |
31 | 31 |
32 namespace { | 32 namespace { |
33 | 33 |
34 enum CompareOp { | 34 enum CompareOp { |
(...skipping 3049 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3084 EXPECT_EQ(original_option.enable_sampling, new_options.enable_sampling); | 3084 EXPECT_EQ(original_option.enable_sampling, new_options.enable_sampling); |
3085 EXPECT_EQ(original_option.enable_systrace, new_options.enable_systrace); | 3085 EXPECT_EQ(original_option.enable_systrace, new_options.enable_systrace); |
3086 } | 3086 } |
3087 } | 3087 } |
3088 } | 3088 } |
3089 } | 3089 } |
3090 | 3090 |
3091 | 3091 |
3092 } // namespace debug | 3092 } // namespace debug |
3093 } // namespace base | 3093 } // namespace base |
OLD | NEW |