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

Unified Diff: components/scheduler/base/real_time_domain.h

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 side-by-side diff with in-line comments
Download patch
Index: components/scheduler/base/real_time_domain.h
diff --git a/components/scheduler/base/real_time_domain.h b/components/scheduler/base/real_time_domain.h
deleted file mode 100644
index fa20ba7a07745f84bfec8a93f6360eb50db2e989..0000000000000000000000000000000000000000
--- a/components/scheduler/base/real_time_domain.h
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef COMPONENTS_SCHEDULER_BASE_REAL_TIME_DOMAIN_H_
-#define COMPONENTS_SCHEDULER_BASE_REAL_TIME_DOMAIN_H_
-
-#include <set>
-
-#include "base/macros.h"
-#include "components/scheduler/base/time_domain.h"
-#include "components/scheduler/scheduler_export.h"
-
-namespace scheduler {
-
-class SCHEDULER_EXPORT RealTimeDomain : public TimeDomain {
- public:
- explicit RealTimeDomain(const char* tracing_category);
- RealTimeDomain(TimeDomain::Observer* observer, const char* tracing_category);
- ~RealTimeDomain() override;
-
- // TimeDomain implementation:
- LazyNow CreateLazyNow() const override;
- base::TimeTicks Now() const override;
- bool MaybeAdvanceTime() override;
- const char* GetName() const override;
-
- protected:
- void OnRegisterWithTaskQueueManager(
- TaskQueueManager* task_queue_manager) override;
- void RequestWakeup(base::TimeTicks now, base::TimeDelta delay) override;
- void AsValueIntoInternal(
- base::trace_event::TracedValue* state) const override;
-
- private:
- const char* tracing_category_; // NOT OWNED
- TaskQueueManager* task_queue_manager_; // NOT OWNED
-
- DISALLOW_COPY_AND_ASSIGN(RealTimeDomain);
-};
-
-} // namespace scheduler
-
-#endif // COMPONENTS_SCHEDULER_BASE_REAL_TIME_DOMAIN_H_
« no previous file with comments | « components/scheduler/base/queueing_time_estimator_unittest.cc ('k') | components/scheduler/base/real_time_domain.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698