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

Unified Diff: components/scheduler/child/task_queue_impl.h

Issue 1314903007: Implement WebFrameScheduler and WebPageScheduler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Responding to feedback Created 5 years, 3 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/child/task_queue_impl.h
diff --git a/components/scheduler/child/task_queue_impl.h b/components/scheduler/child/task_queue_impl.h
index 7aef6caf46c722c74789aea707726ed656865294..0801c0438aa6c742f0a6d302397e4a17dfa96691 100644
--- a/components/scheduler/child/task_queue_impl.h
+++ b/components/scheduler/child/task_queue_impl.h
@@ -98,6 +98,8 @@ class SCHEDULER_EXPORT TaskQueueImpl final : public TaskQueue {
}
const char* GetName() const override;
+ void SetOrigin(const std::string& origin) override;
+ const std::string& GetOrigin() override;
void AsValueInto(base::trace_event::TracedValue* state) const;
@@ -191,6 +193,7 @@ class SCHEDULER_EXPORT TaskQueueImpl final : public TaskQueue {
PumpPolicy pump_policy_;
std::priority_queue<Task> delayed_task_queue_;
+ std::string origin_;
const char* name_;
const char* disabled_by_default_tracing_category_;
const char* disabled_by_default_verbose_tracing_category_;

Powered by Google App Engine
This is Rietveld 408576698