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

Unified Diff: cc/test/remote_channel_impl_for_test.h

Issue 2158973002: cc: Clean up LayerTreeTest and TestHooks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: proxy-impls: android-build 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 side-by-side diff with in-line comments
Download patch
Index: cc/test/remote_channel_impl_for_test.h
diff --git a/cc/test/remote_channel_impl_for_test.h b/cc/test/remote_channel_impl_for_test.h
deleted file mode 100644
index f19a28e0ec53472f933db08dc62aa812c6743b11..0000000000000000000000000000000000000000
--- a/cc/test/remote_channel_impl_for_test.h
+++ /dev/null
@@ -1,43 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CC_TEST_REMOTE_CHANNEL_IMPL_FOR_TEST_H_
-#define CC_TEST_REMOTE_CHANNEL_IMPL_FOR_TEST_H_
-
-#include "base/macros.h"
-#include "cc/test/proxy_impl_for_test.h"
-#include "cc/test/test_hooks.h"
-#include "cc/trees/remote_channel_impl.h"
-
-namespace cc {
-
-class RemoteChannelImplForTest : public RemoteChannelImpl {
- public:
- static std::unique_ptr<RemoteChannelImplForTest> Create(
- TestHooks* test_hooks,
- LayerTreeHost* layer_tree_host,
- RemoteProtoChannel* remote_proto_channel,
- TaskRunnerProvider* task_runner_provider);
-
- ProxyImplForTest* proxy_impl_for_test() const { return proxy_impl_for_test_; }
-
- private:
- RemoteChannelImplForTest(TestHooks* test_hooks,
- LayerTreeHost* layer_tree_host,
- RemoteProtoChannel* remote_proto_channel,
- TaskRunnerProvider* task_runner_provider);
-
- std::unique_ptr<ProxyImpl> CreateProxyImpl(
- ChannelImpl* channel_impl,
- LayerTreeHost* layer_tree_host,
- TaskRunnerProvider* task_runner_provider,
- std::unique_ptr<BeginFrameSource> external_begin_frame_source) override;
-
- TestHooks* test_hooks_;
- ProxyImplForTest* proxy_impl_for_test_;
-};
-
-} // namespace cc
-
-#endif // CC_TEST_REMOTE_CHANNEL_IMPL_FOR_TEST_H_

Powered by Google App Engine
This is Rietveld 408576698