Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(226)

Side by Side Diff: third_party/WebKit/Source/platform/scheduler/base/real_time_domain.cc

Issue 2118903002: scheduler: Move the Blink scheduler into Blink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 "components/scheduler/base/real_time_domain.h" 5 #include "platform/scheduler/base/real_time_domain.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "components/scheduler/base/task_queue_impl.h" 8 #include "platform/scheduler/base/task_queue_impl.h"
9 #include "components/scheduler/base/task_queue_manager.h" 9 #include "platform/scheduler/base/task_queue_manager.h"
10 #include "components/scheduler/base/task_queue_manager_delegate.h" 10 #include "platform/scheduler/base/task_queue_manager_delegate.h"
11 11
12 namespace blink {
12 namespace scheduler { 13 namespace scheduler {
13 14
14 RealTimeDomain::RealTimeDomain(const char* tracing_category) 15 RealTimeDomain::RealTimeDomain(const char* tracing_category)
15 : TimeDomain(nullptr), 16 : TimeDomain(nullptr),
16 tracing_category_(tracing_category), 17 tracing_category_(tracing_category),
17 task_queue_manager_(nullptr) {} 18 task_queue_manager_(nullptr) {}
18 19
19 RealTimeDomain::RealTimeDomain(TimeDomain::Observer* observer, 20 RealTimeDomain::RealTimeDomain(TimeDomain::Observer* observer,
20 const char* tracing_category) 21 const char* tracing_category)
21 : TimeDomain(observer), 22 : TimeDomain(observer),
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 return false; 65 return false;
65 } 66 }
66 67
67 void RealTimeDomain::AsValueIntoInternal( 68 void RealTimeDomain::AsValueIntoInternal(
68 base::trace_event::TracedValue* state) const {} 69 base::trace_event::TracedValue* state) const {}
69 70
70 const char* RealTimeDomain::GetName() const { 71 const char* RealTimeDomain::GetName() const {
71 return "RealTimeDomain"; 72 return "RealTimeDomain";
72 } 73 }
73 } // namespace scheduler 74 } // namespace scheduler
75 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698