| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "platform/scheduler/renderer/web_frame_scheduler_impl.h" | 5 #include "platform/scheduler/renderer/web_frame_scheduler_impl.h" |
| 6 | 6 |
| 7 #include "base/strings/stringprintf.h" | 7 #include "base/strings/stringprintf.h" |
| 8 #include "base/trace_event/blame_context.h" | 8 #include "base/trace_event/blame_context.h" |
| 9 #include "platform/RuntimeEnabledFeatures.h" |
| 9 #include "platform/scheduler/base/real_time_domain.h" | 10 #include "platform/scheduler/base/real_time_domain.h" |
| 10 #include "platform/scheduler/base/virtual_time_domain.h" | 11 #include "platform/scheduler/base/virtual_time_domain.h" |
| 11 #include "platform/scheduler/child/web_task_runner_impl.h" | 12 #include "platform/scheduler/child/web_task_runner_impl.h" |
| 12 #include "platform/scheduler/renderer/auto_advancing_virtual_time_domain.h" | 13 #include "platform/scheduler/renderer/auto_advancing_virtual_time_domain.h" |
| 13 #include "platform/scheduler/renderer/renderer_scheduler_impl.h" | 14 #include "platform/scheduler/renderer/renderer_scheduler_impl.h" |
| 14 #include "platform/scheduler/renderer/web_view_scheduler_impl.h" | 15 #include "platform/scheduler/renderer/web_view_scheduler_impl.h" |
| 15 #include "platform/RuntimeEnabledFeatures.h" | |
| 16 #include "public/platform/BlameContext.h" | 16 #include "public/platform/BlameContext.h" |
| 17 #include "public/platform/WebString.h" | 17 #include "public/platform/WebString.h" |
| 18 | 18 |
| 19 namespace blink { | 19 namespace blink { |
| 20 namespace scheduler { | 20 namespace scheduler { |
| 21 namespace { | 21 namespace { |
| 22 | 22 |
| 23 std::string PointerToId(void* pointer) { | 23 std::string PointerToId(void* pointer) { |
| 24 return base::StringPrintf( | 24 return base::StringPrintf( |
| 25 "0x%" PRIx64, | 25 "0x%" PRIx64, |
| (...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 282 timer_task_queue_.get()); | 282 timer_task_queue_.get()); |
| 283 } | 283 } |
| 284 } | 284 } |
| 285 | 285 |
| 286 base::WeakPtr<WebFrameSchedulerImpl> WebFrameSchedulerImpl::AsWeakPtr() { | 286 base::WeakPtr<WebFrameSchedulerImpl> WebFrameSchedulerImpl::AsWeakPtr() { |
| 287 return weak_factory_.GetWeakPtr(); | 287 return weak_factory_.GetWeakPtr(); |
| 288 } | 288 } |
| 289 | 289 |
| 290 } // namespace scheduler | 290 } // namespace scheduler |
| 291 } // namespace blink | 291 } // namespace blink |
| OLD | NEW |