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

Unified Diff: cc/test/layer_tree_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/layer_tree_test.h
diff --git a/cc/test/layer_tree_test.h b/cc/test/layer_tree_test.h
index 140cc7927bf9135796c0aa718f94d5d31738546f..ddad0ce9b4c7b5df14d14b700642d916a45a9ddc 100644
--- a/cc/test/layer_tree_test.h
+++ b/cc/test/layer_tree_test.h
@@ -8,8 +8,6 @@
#include "base/memory/ref_counted.h"
#include "base/threading/thread.h"
#include "cc/animation/animation_delegate.h"
-#include "cc/test/proxy_impl_for_test.h"
-#include "cc/test/proxy_main_for_test.h"
#include "cc/test/remote_proto_channel_bridge.h"
#include "cc/test/test_hooks.h"
#include "cc/trees/layer_tree_host.h"
@@ -26,12 +24,13 @@ class LayerTreeHost;
class LayerTreeHostForTesting;
class LayerTreeHostClient;
class LayerTreeHostImpl;
+class ProxyImpl;
+class ProxyMain;
class RemoteChannelImplForTest;
class TestContextProvider;
class TestGpuMemoryBufferManager;
class TestTaskGraphRunner;
class TestWebGraphicsContext3D;
-class ThreadedChannelForTest;
// Creates the virtual viewport layer hierarchy under the given root_layer.
// Convenient overload of the method below that creates a scrolling layer as
@@ -155,16 +154,6 @@ class LayerTreeTest : public testing::Test, public TestHooks {
return gpu_memory_buffer_manager_.get();
}
- // Use these only for tests in threaded or remote mode.
- ProxyMainForTest* GetProxyMainForTest() const;
- ProxyImplForTest* GetProxyImplForTest() const;
-
- // Use this only for tests in threaded mode.
- ThreadedChannelForTest* GetThreadedChannelForTest() const;
-
- // Use this only for tests in remote mode.
- RemoteChannelImplForTest* GetRemoteChannelImplForTest() const;
-
void DestroyLayerTreeHost();
void DestroyRemoteClientHost() override;
« no previous file with comments | « cc/cc_tests.gyp ('k') | cc/test/layer_tree_test.cc » ('j') | cc/test/layer_tree_test.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698