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

Unified Diff: cc/trees/remote_proto_channel.h

Issue 2494623002: cc: Remove client/engine LayerTreeHostInProcess. (Closed)
Patch Set: .. Created 4 years, 1 month 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/remote_channel_main.cc ('k') | content/public/renderer/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/remote_proto_channel.h
diff --git a/cc/trees/remote_proto_channel.h b/cc/trees/remote_proto_channel.h
deleted file mode 100644
index 8f7ad099a13a6754e93123081abd8b95c3191655..0000000000000000000000000000000000000000
--- a/cc/trees/remote_proto_channel.h
+++ /dev/null
@@ -1,47 +0,0 @@
-// Copyright 2015 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_TREES_REMOTE_PROTO_CHANNEL_H_
-#define CC_TREES_REMOTE_PROTO_CHANNEL_H_
-
-#include <memory>
-
-#include "cc/base/cc_export.h"
-
-namespace cc {
-
-namespace proto {
-class CompositorMessage;
-}
-
-// Provides a bridge for getting compositor protobuf messages to/from the
-// outside world.
-class CC_EXPORT RemoteProtoChannel {
- public:
- // Meant to be implemented by a RemoteChannel that needs to receive and parse
- // incoming protobufs.
- class CC_EXPORT ProtoReceiver {
- public:
- // TODO(khushalsagar): This should probably include a closure that returns
- // the status of processing this proto. See crbug/576974
- virtual void OnProtoReceived(
- std::unique_ptr<proto::CompositorMessage> proto) = 0;
-
- protected:
- virtual ~ProtoReceiver() {}
- };
-
- // Called by the ProtoReceiver. The RemoteProtoChannel must outlive its
- // receiver.
- virtual void SetProtoReceiver(ProtoReceiver* receiver) = 0;
-
- virtual void SendCompositorProto(const proto::CompositorMessage& proto) = 0;
-
- protected:
- virtual ~RemoteProtoChannel() {}
-};
-
-} // namespace cc
-
-#endif // CC_TREES_REMOTE_PROTO_CHANNEL_H_
« no previous file with comments | « cc/trees/remote_channel_main.cc ('k') | content/public/renderer/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698