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

Unified Diff: gpu/command_buffer/client/client_test_helper.h

Issue 2771053003: WIP: Plumbing input event latency reporting through Mus GPU.
Patch Set: NON_EXPORTED_BASE Created 3 years, 8 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 | « gpu/command_buffer/client/DEPS ('k') | gpu/command_buffer/client/context_support.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/client/client_test_helper.h
diff --git a/gpu/command_buffer/client/client_test_helper.h b/gpu/command_buffer/client/client_test_helper.h
index f806fbbb6062ca2876c5e1c7baee19e801751dae..79b5fc4849a5ee7d444f0dbb2801f5c0f929bb6c 100644
--- a/gpu/command_buffer/client/client_test_helper.h
+++ b/gpu/command_buffer/client/client_test_helper.h
@@ -21,6 +21,7 @@
#include "gpu/command_buffer/service/command_buffer_service.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
+#include "ui/latency/latency_info.h"
namespace gpu {
@@ -119,6 +120,7 @@ class MockClientGpuControl : public GpuControl {
const base::Closure& callback));
MOCK_METHOD1(WaitSyncTokenHint, void(const SyncToken&));
MOCK_METHOD1(CanWaitUnverifiedSyncToken, bool(const SyncToken&));
+ MOCK_METHOD1(AddLatencyInfo, void(const std::vector<ui::LatencyInfo>&));
private:
DISALLOW_COPY_AND_ASSIGN(MockClientGpuControl);
« no previous file with comments | « gpu/command_buffer/client/DEPS ('k') | gpu/command_buffer/client/context_support.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698