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

Side by Side Diff: cc/test/threaded_channel_for_test.h

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.cc ('k') | cc/test/threaded_channel_for_test.cc » ('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 2011 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 #ifndef CC_TEST_THREADED_CHANNEL_FOR_TEST_H_
6 #define CC_TEST_THREADED_CHANNEL_FOR_TEST_H_
7
8 #include "base/macros.h"
9 #include "cc/test/test_hooks.h"
10 #include "cc/trees/threaded_channel.h"
11
12 namespace cc {
13
14 // ThreadedChannel that notifies |test_hooks| of internal actions by ProxyImpl.
15 class ThreadedChannelForTest : public ThreadedChannel {
16 public:
17 static scoped_ptr<ThreadedChannel> Create(
18 TestHooks* test_hooks,
19 ProxyMain* proxy_main,
20 TaskRunnerProvider* task_runner_provider);
21
22 private:
23 ThreadedChannelForTest(TestHooks* test_hooks,
24 ProxyMain* proxy_main,
25 TaskRunnerProvider* task_runner_provider);
26
27 scoped_ptr<ProxyImpl> CreateProxyImpl(
28 ChannelImpl* channel_impl,
29 LayerTreeHost* layer_tree_host,
30 TaskRunnerProvider* task_runner_provider,
31 scoped_ptr<BeginFrameSource> external_begin_frame_source) override;
32
33 TestHooks* test_hooks_;
34 };
35
36 } // namespace cc
37
38 #endif // CC_TEST_THREADED_CHANNEL_FOR_TEST_H_
OLDNEW
« no previous file with comments | « cc/test/test_hooks.cc ('k') | cc/test/threaded_channel_for_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698