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

Unified Diff: content/public/test/mock_render_process_host.h

Issue 780133002: Add optimization for CHROMIUM_subscribe_uniform extension. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: piman@ review 2 Created 6 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
Index: content/public/test/mock_render_process_host.h
diff --git a/content/public/test/mock_render_process_host.h b/content/public/test/mock_render_process_host.h
index 4e2cf8e9595a7a209f8a5a046ea8c676e0d36623..326f2af1a0e1ef4d4f6248fccf959e1506788126 100644
--- a/content/public/test/mock_render_process_host.h
+++ b/content/public/test/mock_render_process_host.h
@@ -83,6 +83,11 @@ class MockRenderProcessHost : public RenderProcessHost {
void NotifyTimezoneChange() override;
ServiceRegistry* GetServiceRegistry() override;
const base::TimeTicks& GetInitTimeForNavigationMetrics() const override;
+ bool SubscribeUniformEnabled() const override;
+ void OnAddSubscription(unsigned int target) override;
+ void OnRemoveSubscription(unsigned int target) override;
+ void SendUpdateValueState(
+ unsigned int target, const gpu::ValueState& state) override;
// IPC::Sender via RenderProcessHost.
bool Send(IPC::Message* msg) override;

Powered by Google App Engine
This is Rietveld 408576698