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

Side by Side Diff: testing/test_support.h

Issue 1425153006: Fix all relative includes to third_party. (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: rebase Created 5 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 unified diff | Download patch
« no previous file with comments | « testing/embedder_test.cpp ('k') | testing/test_support.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 PDFium Authors. All rights reserved. 1 // Copyright 2015 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef TESTING_EMBEDDER_TEST_SUPPORT_H_ 5 #ifndef TESTING_EMBEDDER_TEST_SUPPORT_H_
6 #define TESTING_EMBEDDER_TEST_SUPPORT_H_ 6 #define TESTING_EMBEDDER_TEST_SUPPORT_H_
7 7
8 #include <stdlib.h> 8 #include <stdlib.h>
9 #include <string> 9 #include <string>
10 10
11 #include "../public/fpdfview.h" 11 #include "../public/fpdfview.h"
12 12
13 #ifdef PDF_ENABLE_V8 13 #ifdef PDF_ENABLE_V8
14 #include "v8/include/libplatform/libplatform.h"
15 #include "v8/include/v8.h" 14 #include "v8/include/v8.h"
16 #endif 15 #endif // PDF_ENABLE_V8
17 16
18 // Reads the entire contents of a file into a newly malloc'd buffer. 17 // Reads the entire contents of a file into a newly malloc'd buffer.
19 char* GetFileContents(const char* filename, size_t* retlen); 18 char* GetFileContents(const char* filename, size_t* retlen);
20 19
21 // Converts a FPDF_WIDESTRING to a std::wstring. 20 // Converts a FPDF_WIDESTRING to a std::wstring.
22 // Deals with differences between UTF16LE and wchar_t. 21 // Deals with differences between UTF16LE and wchar_t.
23 std::wstring GetWideString(FPDF_WIDESTRING wstr); 22 std::wstring GetWideString(FPDF_WIDESTRING wstr);
24 23
25 #ifdef PDF_ENABLE_V8 24 #ifdef PDF_ENABLE_V8
26 #ifdef V8_USE_EXTERNAL_STARTUP_DATA 25 #ifdef V8_USE_EXTERNAL_STARTUP_DATA
(...skipping 14 matching lines...) Expand all
41 unsigned long pos, 40 unsigned long pos,
42 unsigned char* pBuf, 41 unsigned char* pBuf,
43 unsigned long size); 42 unsigned long size);
44 43
45 private: 44 private:
46 const char* const m_pBuf; 45 const char* const m_pBuf;
47 const size_t m_Len; 46 const size_t m_Len;
48 }; 47 };
49 48
50 #endif // TESTING_EMBEDDER_TEST_SUPPORT_H_ 49 #endif // TESTING_EMBEDDER_TEST_SUPPORT_H_
OLDNEW
« no previous file with comments | « testing/embedder_test.cpp ('k') | testing/test_support.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698