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

Unified Diff: cc/test/fake_remote_compositor_bridge.h

Issue 2493523003: cc: Remove unused proto conversion code. (Closed)
Patch Set: test 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/playback/recording_source.h ('k') | cc/test/fake_remote_compositor_bridge.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_remote_compositor_bridge.h
diff --git a/cc/test/fake_remote_compositor_bridge.h b/cc/test/fake_remote_compositor_bridge.h
index eda4798e5d6173c855b86ee47105edcdd8f6ae1b..6b4a68d65e8ae368f10d6269e750ffffa8cbae9b 100644
--- a/cc/test/fake_remote_compositor_bridge.h
+++ b/cc/test/fake_remote_compositor_bridge.h
@@ -29,10 +29,15 @@ class FakeRemoteCompositorBridge : public RemoteCompositorBridge {
void ProcessCompositorStateUpdate(
std::unique_ptr<CompositorProtoState> compositor_proto_state) override {}
+ bool has_pending_update() const { return has_pending_update_; }
+
protected:
void BeginMainFrame();
RemoteCompositorBridgeClient* client_;
+
+ private:
+ bool has_pending_update_ = false;
base::WeakPtrFactory<FakeRemoteCompositorBridge> weak_factory_;
};
« no previous file with comments | « cc/playback/recording_source.h ('k') | cc/test/fake_remote_compositor_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698