OLD | NEW |
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" | |
17 #include "../public/fpdf_ext.h" | |
18 #include "../public/fpdf_formfill.h" | |
19 #include "../public/fpdf_text.h" | |
20 #include "../public/fpdfview.h" | |
21 #include "../testing/test_support.h" | 16 #include "../testing/test_support.h" |
22 #include "image_diff_png.h" | 17 #include "image_diff_png.h" |
| 18 #include "public/fpdf_dataavail.h" |
| 19 #include "public/fpdf_ext.h" |
| 20 #include "public/fpdf_formfill.h" |
| 21 #include "public/fpdf_text.h" |
| 22 #include "public/fpdfview.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 // PDF_ENABLE_V8 | 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 |
(...skipping 566 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 } |
OLD | NEW |