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

Unified Diff: testing/test_support.h

Issue 1898993002: Allow pdfium_test to send simple events to each page. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Fix build, nits. Created 4 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 | « samples/pdfium_test.cc ('k') | testing/test_support.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: testing/test_support.h
diff --git a/testing/test_support.h b/testing/test_support.h
index 4b716ae7720871965a937e67d9f7e42440da303a..fdb24fe61baf52112ee349461299d2888cb2e070 100644
--- a/testing/test_support.h
+++ b/testing/test_support.h
@@ -8,6 +8,7 @@
#include <stdlib.h>
#include <memory>
#include <string>
+#include <vector>
#include "public/fpdf_save.h"
#include "public/fpdfview.h"
@@ -63,6 +64,8 @@ struct FreeDeleter {
std::unique_ptr<char, pdfium::FreeDeleter> GetFileContents(const char* filename,
size_t* retlen);
+std::vector<std::string> StringSplit(const std::string& str, char delimiter);
+
// Converts a FPDF_WIDESTRING to a std::wstring.
// Deals with differences between UTF16LE and wchar_t.
std::wstring GetPlatformWString(const FPDF_WIDESTRING wstr);
« no previous file with comments | « samples/pdfium_test.cc ('k') | testing/test_support.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698