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

Side by Side Diff: cc/test/test_hooks.cc

Issue 1506023008: [NOT LANDED] Revert of cc: Split ThreadProxy into ProxyMain and ProxyImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 | « cc/test/test_hooks.h ('k') | cc/test/threaded_channel_for_test.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "cc/test/test_hooks.h"
6
7 namespace cc {
8
9 TestHooks::TestHooks() {}
10
11 TestHooks::~TestHooks() {}
12
13 DrawResult TestHooks::PrepareToDrawOnThread(
14 LayerTreeHostImpl* host_impl,
15 LayerTreeHostImpl::FrameData* frame_data,
16 DrawResult draw_result) {
17 return draw_result;
18 }
19
20 void TestHooks::CreateResourceAndTileTaskWorkerPool(
21 LayerTreeHostImpl* host_impl,
22 scoped_ptr<TileTaskWorkerPool>* tile_task_worker_pool,
23 scoped_ptr<ResourcePool>* resource_pool) {
24 host_impl->LayerTreeHostImpl::CreateResourceAndTileTaskWorkerPool(
25 tile_task_worker_pool, resource_pool);
26 }
27
28 } // namespace cc
OLDNEW
« no previous file with comments | « cc/test/test_hooks.h ('k') | cc/test/threaded_channel_for_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698