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

Side by Side Diff: content/test/fake_renderer_scheduler.h

Issue 2093983002: scheduler: Tell v8 about the current RAIL mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add missing gyp dependencies Created 4 years, 5 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
« no previous file with comments | « content/renderer/render_thread_impl.cc ('k') | content/test/fake_renderer_scheduler.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef CONTENT_TEST_FAKE_RENDERER_SCHEDULER_H_ 5 #ifndef CONTENT_TEST_FAKE_RENDERER_SCHEDULER_H_
6 #define CONTENT_TEST_FAKE_RENDERER_SCHEDULER_H_ 6 #define CONTENT_TEST_FAKE_RENDERER_SCHEDULER_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "components/scheduler/renderer/renderer_scheduler.h" 9 #include "components/scheduler/renderer/renderer_scheduler.h"
10 10
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 bool ShouldYieldForHighPriorityWork() override; 51 bool ShouldYieldForHighPriorityWork() override;
52 void AddTaskObserver(base::MessageLoop::TaskObserver* task_observer) override; 52 void AddTaskObserver(base::MessageLoop::TaskObserver* task_observer) override;
53 void RemoveTaskObserver( 53 void RemoveTaskObserver(
54 base::MessageLoop::TaskObserver* task_observer) override; 54 base::MessageLoop::TaskObserver* task_observer) override;
55 void Shutdown() override; 55 void Shutdown() override;
56 void SuspendTimerQueue() override; 56 void SuspendTimerQueue() override;
57 void ResumeTimerQueue() override; 57 void ResumeTimerQueue() override;
58 void SetTimerQueueSuspensionWhenBackgroundedEnabled(bool enabled) override; 58 void SetTimerQueueSuspensionWhenBackgroundedEnabled(bool enabled) override;
59 void SetTopLevelBlameContext( 59 void SetTopLevelBlameContext(
60 base::trace_event::BlameContext* blame_context) override; 60 base::trace_event::BlameContext* blame_context) override;
61 void SetRAILModeObserver(RAILModeObserver* observer) override;
61 62
62 private: 63 private:
63 DISALLOW_COPY_AND_ASSIGN(FakeRendererScheduler); 64 DISALLOW_COPY_AND_ASSIGN(FakeRendererScheduler);
64 }; 65 };
65 66
66 } // namespace content 67 } // namespace content
67 68
68 #endif // CONTENT_TEST_FAKE_RENDERER_SCHEDULER_H_ 69 #endif // CONTENT_TEST_FAKE_RENDERER_SCHEDULER_H_
OLDNEW
« no previous file with comments | « content/renderer/render_thread_impl.cc ('k') | content/test/fake_renderer_scheduler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698