summaryrefslogtreecommitdiffstats
path: root/cc/scheduler
diff options
context:
space:
mode:
authorkhushalsagar <khushalsagar@chromium.org>2015-12-09 02:30:20 -0800
committerCommit bot <commit-bot@chromium.org>2015-12-09 10:31:23 +0000
commit0a226af5cb4c5ca5b3bac3e3d857601cc356dc33 (patch)
treeb1df8d8744cff029d325a8c437b18cb3ac2baf93 /cc/scheduler
parentc0255e3c95f711644ac6c7f30aeb6f8905b70428 (diff)
downloadchromium_src-0a226af5cb4c5ca5b3bac3e3d857601cc356dc33.zip
chromium_src-0a226af5cb4c5ca5b3bac3e3d857601cc356dc33.tar.gz
chromium_src-0a226af5cb4c5ca5b3bac3e3d857601cc356dc33.tar.bz2
cc: Split ThreadProxy into ProxyMain and ProxyImpl
This is the final patch that splits ThreadProxy into ProxyMain and ProxyImpl routing all inter-proxy communication using ChannelMain and ChannelImpl. ThreadProxy currently implements the logic for glueing together the Scheduler, LayerTreeHostImpl and the LayerTreeHost and separating these components across the main and impl thread boundary. This patch isolates the logic for this glue code in ThreadProxy exclusive to each thread to ProxyMain and ProxyImpl. This will allow us to abstract the medium the 2 sides use to communicate with each other so these components can be run across a thread/process/network boundary. ThreadedChannel implements the in-process threaded case. BUG=527200 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Review URL: https://codereview.chromium.org/1417053005 Cr-Commit-Position: refs/heads/master@{#364034}
Diffstat (limited to 'cc/scheduler')
-rw-r--r--cc/scheduler/scheduler_state_machine_unittest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/cc/scheduler/scheduler_state_machine_unittest.cc b/cc/scheduler/scheduler_state_machine_unittest.cc
index 8999b2f..44d16c1 100644
--- a/cc/scheduler/scheduler_state_machine_unittest.cc
+++ b/cc/scheduler/scheduler_state_machine_unittest.cc
@@ -1228,7 +1228,7 @@ TEST(SchedulerStateMachineTest, TestNoRequestOutputSurfaceWhenInvisible) {
SchedulerStateMachine::ACTION_BEGIN_OUTPUT_SURFACE_CREATION);
}
-// See ThreadProxy::BeginMainFrame "EarlyOut_NotVisible" /
+// See ProxyMain::BeginMainFrame "EarlyOut_NotVisible" /
// "EarlyOut_OutputSurfaceLost" cases.
TEST(SchedulerStateMachineTest, TestAbortBeginMainFrameBecauseInvisible) {
SchedulerSettings default_scheduler_settings;
@@ -1282,7 +1282,7 @@ TEST(SchedulerStateMachineTest, TestAbortBeginMainFrameBecauseInvisible) {
EXPECT_ACTION_UPDATE_STATE(SchedulerStateMachine::ACTION_NONE);
}
-// See ThreadProxy::BeginMainFrame "EarlyOut_NoUpdates" case.
+// See ProxyMain::BeginMainFrame "EarlyOut_NoUpdates" case.
TEST(SchedulerStateMachineTest, TestAbortBeginMainFrameBecauseCommitNotNeeded) {
SchedulerSettings default_scheduler_settings;
StateMachine state(default_scheduler_settings);