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

Side by Side Diff: samples/pdfium_test.cc

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 | « samples/image_diff_png.cc ('k') | samples/samples.gyp » ('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 (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium 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 #include <limits.h> 5 #include <limits.h>
6 #include <stdio.h> 6 #include <stdio.h>
7 #include <stdlib.h> 7 #include <stdlib.h>
8 #include <string.h> 8 #include <string.h>
9 9
10 #include <list> 10 #include <list>
11 #include <sstream> 11 #include <sstream>
12 #include <string> 12 #include <string>
13 #include <utility> 13 #include <utility>
14 #include <vector> 14 #include <vector>
15 15
16 #include "../public/fpdf_dataavail.h" 16 #include "../public/fpdf_dataavail.h"
17 #include "../public/fpdf_ext.h" 17 #include "../public/fpdf_ext.h"
18 #include "../public/fpdf_formfill.h" 18 #include "../public/fpdf_formfill.h"
19 #include "../public/fpdf_text.h" 19 #include "../public/fpdf_text.h"
20 #include "../public/fpdfview.h" 20 #include "../public/fpdfview.h"
21 #include "../testing/test_support.h" 21 #include "../testing/test_support.h"
22 #include "image_diff_png.h" 22 #include "image_diff_png.h"
23 23
24 #ifdef PDF_ENABLE_V8 24 #ifdef PDF_ENABLE_V8
25 #include "v8/include/libplatform/libplatform.h" 25 #include "v8/include/libplatform/libplatform.h"
26 #include "v8/include/v8.h" 26 #include "v8/include/v8.h"
27 #endif 27 #endif // PDF_ENABLE_V8
28 28
29 #ifdef _WIN32 29 #ifdef _WIN32
30 #define snprintf _snprintf 30 #define snprintf _snprintf
31 #endif 31 #endif
32 32
33 enum OutputFormat { 33 enum OutputFormat {
34 OUTPUT_NONE, 34 OUTPUT_NONE,
35 OUTPUT_PPM, 35 OUTPUT_PPM,
36 OUTPUT_PNG, 36 OUTPUT_PNG,
37 #ifdef _WIN32 37 #ifdef _WIN32
(...skipping 561 matching lines...) Expand 10 before | Expand all | Expand 10 after
599 } 599 }
600 600
601 FPDF_DestroyLibrary(); 601 FPDF_DestroyLibrary();
602 #ifdef PDF_ENABLE_V8 602 #ifdef PDF_ENABLE_V8
603 v8::V8::ShutdownPlatform(); 603 v8::V8::ShutdownPlatform();
604 delete platform; 604 delete platform;
605 #endif // PDF_ENABLE_V8 605 #endif // PDF_ENABLE_V8
606 606
607 return 0; 607 return 0;
608 } 608 }
OLDNEW
« no previous file with comments | « samples/image_diff_png.cc ('k') | samples/samples.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698