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

Unified Diff: cc/test/threaded_channel_for_test.h

Issue 1513643010: cc:: Add remote mode to the compositor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use LayerTreeSettings::ToProtobuf, update comments. 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 side-by-side diff with in-line comments
Download patch
Index: cc/test/threaded_channel_for_test.h
diff --git a/cc/test/threaded_channel_for_test.h b/cc/test/threaded_channel_for_test.h
index bd74790473218d80c92939e5fb22358035e3397d..6a47d10cfb990567f9c3ff1101d7001e703ae61b 100644
--- a/cc/test/threaded_channel_for_test.h
+++ b/cc/test/threaded_channel_for_test.h
@@ -10,15 +10,18 @@
#include "cc/trees/threaded_channel.h"
namespace cc {
+class ProxyImplForTest;
// ThreadedChannel that notifies |test_hooks| of internal actions by ProxyImpl.
class ThreadedChannelForTest : public ThreadedChannel {
public:
- static scoped_ptr<ThreadedChannel> Create(
+ static scoped_ptr<ThreadedChannelForTest> Create(
TestHooks* test_hooks,
ProxyMain* proxy_main,
TaskRunnerProvider* task_runner_provider);
+ ProxyImplForTest* proxy_impl_for_test() { return proxy_impl_for_test_; }
+
private:
ThreadedChannelForTest(TestHooks* test_hooks,
ProxyMain* proxy_main,
@@ -31,6 +34,7 @@ class ThreadedChannelForTest : public ThreadedChannel {
scoped_ptr<BeginFrameSource> external_begin_frame_source) override;
TestHooks* test_hooks_;
+ ProxyImplForTest* proxy_impl_for_test_;
};
} // namespace cc

Powered by Google App Engine
This is Rietveld 408576698