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 <string> | 5 #include <string> |
6 | 6 |
7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
8 #include "base/message_loop.h" | 8 #include "base/message_loop/message_loop.h" |
9 #include "base/port.h" | 9 #include "base/port.h" |
10 #include "base/prefs/pref_service.h" | 10 #include "base/prefs/pref_service.h" |
11 #include "base/prefs/testing_pref_service.h" | 11 #include "base/prefs/testing_pref_service.h" |
12 #include "base/strings/string_number_conversions.h" | 12 #include "base/strings/string_number_conversions.h" |
13 #include "base/strings/string_util.h" | 13 #include "base/strings/string_util.h" |
14 #include "base/strings/stringprintf.h" | 14 #include "base/strings/stringprintf.h" |
15 #include "base/threading/sequenced_worker_pool.h" | 15 #include "base/threading/sequenced_worker_pool.h" |
16 #include "base/time/time.h" | 16 #include "base/time/time.h" |
17 #include "base/tracked_objects.h" | 17 #include "base/tracked_objects.h" |
18 #include "chrome/browser/google/google_util.h" | 18 #include "chrome/browser/google/google_util.h" |
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
324 EXPECT_EQ(113, tracked_object->exec_time_sampled()); | 324 EXPECT_EQ(113, tracked_object->exec_time_sampled()); |
325 EXPECT_EQ(108, tracked_object->queue_time_total()); | 325 EXPECT_EQ(108, tracked_object->queue_time_total()); |
326 EXPECT_EQ(103, tracked_object->queue_time_sampled()); | 326 EXPECT_EQ(103, tracked_object->queue_time_sampled()); |
327 EXPECT_EQ(GG_UINT64_C(7246674144371406371), | 327 EXPECT_EQ(GG_UINT64_C(7246674144371406371), |
328 tracked_object->exec_thread_name_hash()); | 328 tracked_object->exec_thread_name_hash()); |
329 EXPECT_EQ(1177U, tracked_object->process_id()); | 329 EXPECT_EQ(1177U, tracked_object->process_id()); |
330 EXPECT_EQ(ProfilerEventProto::TrackedObject::RENDERER, | 330 EXPECT_EQ(ProfilerEventProto::TrackedObject::RENDERER, |
331 tracked_object->process_type()); | 331 tracked_object->process_type()); |
332 } | 332 } |
333 } | 333 } |
OLD | NEW |