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

Unified Diff: cc/test/threaded_channel_for_test.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/test/threaded_channel_for_test.h ('k') | cc/trees/channel_main.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/threaded_channel_for_test.cc
diff --git a/cc/test/threaded_channel_for_test.cc b/cc/test/threaded_channel_for_test.cc
deleted file mode 100644
index 35489bdae4973bb4cdc5366ae1e608c7abbfe234..0000000000000000000000000000000000000000
--- a/cc/test/threaded_channel_for_test.cc
+++ /dev/null
@@ -1,36 +0,0 @@
-// Copyright 2011 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.
-
-#include "cc/test/threaded_channel_for_test.h"
-
-#include "cc/test/proxy_impl_for_test.h"
-
-namespace cc {
-
-scoped_ptr<ThreadedChannel> ThreadedChannelForTest::Create(
- TestHooks* test_hooks,
- ProxyMain* proxy_main,
- TaskRunnerProvider* task_runner_provider) {
- return make_scoped_ptr(
- new ThreadedChannelForTest(test_hooks, proxy_main, task_runner_provider));
-}
-
-ThreadedChannelForTest::ThreadedChannelForTest(
- TestHooks* test_hooks,
- ProxyMain* proxy_main,
- TaskRunnerProvider* task_runner_provider)
- : ThreadedChannel(proxy_main, task_runner_provider),
- test_hooks_(test_hooks) {}
-
-scoped_ptr<ProxyImpl> ThreadedChannelForTest::CreateProxyImpl(
- ChannelImpl* channel_impl,
- LayerTreeHost* layer_tree_host,
- TaskRunnerProvider* task_runner_provider,
- scoped_ptr<BeginFrameSource> external_begin_frame_source) {
- return ProxyImplForTest::Create(test_hooks_, channel_impl, layer_tree_host,
- task_runner_provider,
- std::move(external_begin_frame_source));
-}
-
-} // namespace cc
« no previous file with comments | « cc/test/threaded_channel_for_test.h ('k') | cc/trees/channel_main.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698