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

Unified Diff: cc/trees/threaded_channel.h

Issue 2340143002: cc: Rename LayerTreeHost to LayerTreeHostInProcess. (Closed)
Patch Set: comment fix Created 4 years, 3 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
« no previous file with comments | « cc/trees/single_thread_proxy.cc ('k') | cc/trees/threaded_channel.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/threaded_channel.h
diff --git a/cc/trees/threaded_channel.h b/cc/trees/threaded_channel.h
index d54047d59ca6c7a1a118870ab2ecc0190b24a892..eeb02008ef50cf145b4cd16acb27d03f97823814 100644
--- a/cc/trees/threaded_channel.h
+++ b/cc/trees/threaded_channel.h
@@ -24,19 +24,19 @@ class SingleThreadTaskRunner;
namespace cc {
class ChannelImpl;
class ChannelMain;
-class LayerTreeHost;
+class LayerTreeHostInProcess;
class ProxyImpl;
class ProxyMain;
// An implementation of ChannelMain and ChannelImpl that sends commands between
// ProxyMain and ProxyImpl across thread boundaries.
//
-// LayerTreeHost creates ThreadedChannel and passes the ownership to ProxyMain.
-// The object life cycle and communication across threads is as follows:
-//
+// LayerTreeHostInProcess creates ThreadedChannel and passes the ownership to
+// ProxyMain. The object life cycle and communication across threads is as
+// follows:
//
// Main Thread | Impl Thread
-// LayerTreeHost->InitializeProxy |
+// LayerTreeHostInProcess->InitializeProxy |
// | |
// ProxyMain->Start() |
// | ThreadedChannel
@@ -108,11 +108,11 @@ class CC_EXPORT ThreadedChannel : public ChannelMain, public ChannelImpl {
CompletionEvent* completion,
bool* main_frame_will_happen) override;
void NotifyReadyToCommitOnImpl(CompletionEvent* completion,
- LayerTreeHost* layer_tree_host,
+ LayerTreeHostInProcess* layer_tree_host,
base::TimeTicks main_thread_start_time,
bool hold_commit_for_activation) override;
void SynchronouslyInitializeImpl(
- LayerTreeHost* layer_tree_host,
+ LayerTreeHostInProcess* layer_tree_host,
std::unique_ptr<BeginFrameSource> external_begin_frame_source) override;
void SynchronouslyCloseImpl() override;
@@ -135,7 +135,7 @@ class CC_EXPORT ThreadedChannel : public ChannelMain, public ChannelImpl {
// Virtual for testing.
virtual std::unique_ptr<ProxyImpl> CreateProxyImpl(
ChannelImpl* channel_impl,
- LayerTreeHost* layer_tree_host,
+ LayerTreeHostInProcess* layer_tree_host,
TaskRunnerProvider* task_runner_provider,
std::unique_ptr<BeginFrameSource> external_begin_frame_source);
@@ -175,7 +175,7 @@ class CC_EXPORT ThreadedChannel : public ChannelMain, public ChannelImpl {
// Called on impl thread.
void InitializeImplOnImpl(
CompletionEvent* completion,
- LayerTreeHost* layer_tree_host,
+ LayerTreeHostInProcess* layer_tree_host,
std::unique_ptr<BeginFrameSource> external_begin_frame_source);
void CloseImplOnImpl(CompletionEvent* completion);
« no previous file with comments | « cc/trees/single_thread_proxy.cc ('k') | cc/trees/threaded_channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698