summaryrefslogtreecommitdiff
path: root/testing/embedder_test_mock_delegate.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-06-02 17:11:18 -0700
committerTom Sepez <tsepez@chromium.org>2015-06-02 17:11:18 -0700
commit6efc0ad16665ab74c5033bdc36dbcb7c8aad7e6c (patch)
treeee2108db3b8aa908b6647f0eceb4d85564a76416 /testing/embedder_test_mock_delegate.h
parent461a26d822c4bb89e59640da577d18d501a8fb82 (diff)
downloadpdfium-6efc0ad16665ab74c5033bdc36dbcb7c8aad7e6c.tar.xz
Merge to XFA: Automated test case for 487928.
Original Review URL: https://codereview.chromium.org/1153213004 R=thestig@chromium.org TBR=thestig@chromium.org Review URL: https://codereview.chromium.org/1158483004
Diffstat (limited to 'testing/embedder_test_mock_delegate.h')
-rw-r--r--testing/embedder_test_mock_delegate.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/testing/embedder_test_mock_delegate.h b/testing/embedder_test_mock_delegate.h
index 526e11774e..1e4e99513d 100644
--- a/testing/embedder_test_mock_delegate.h
+++ b/testing/embedder_test_mock_delegate.h
@@ -13,6 +13,8 @@ class EmbedderTestMockDelegate : public EmbedderTest::Delegate {
MOCK_METHOD1(UnsupportedHandler, void(int type));
MOCK_METHOD4(Alert, int(FPDF_WIDESTRING message, FPDF_WIDESTRING title,
int type, int icon));
+ MOCK_METHOD2(SetTimer, int(int msecs, TimerCallback fn));
+ MOCK_METHOD1(KillTimer, void(int msecs));
};
#endif // TESTING_EMBEDDER_TEST_MOCK_DELEGATE_H_