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 #include <wchar.h> | 9 #include <wchar.h> |
10 | 10 |
11 #include <list> | 11 #include <list> |
12 #include <sstream> | 12 #include <sstream> |
13 #include <string> | 13 #include <string> |
14 #include <utility> | 14 #include <utility> |
15 #include <vector> | 15 #include <vector> |
16 | 16 |
17 #include "../public/fpdf_dataavail.h" | |
18 #include "../public/fpdf_ext.h" | |
19 #include "../public/fpdf_formfill.h" | |
20 #include "../public/fpdf_text.h" | |
21 #include "../public/fpdfview.h" | |
22 #include "../testing/test_support.h" | 17 #include "../testing/test_support.h" |
23 #include "image_diff_png.h" | 18 #include "image_diff_png.h" |
| 19 #include "public/fpdf_dataavail.h" |
| 20 #include "public/fpdf_ext.h" |
| 21 #include "public/fpdf_formfill.h" |
| 22 #include "public/fpdf_text.h" |
| 23 #include "public/fpdfview.h" |
24 | 24 |
25 #ifdef PDF_ENABLE_V8 | 25 #ifdef PDF_ENABLE_V8 |
26 #include "v8/include/libplatform/libplatform.h" | 26 #include "v8/include/libplatform/libplatform.h" |
27 #include "v8/include/v8.h" | 27 #include "v8/include/v8.h" |
28 #endif // PDF_ENABLE_V8 | 28 #endif // PDF_ENABLE_V8 |
29 | 29 |
30 #ifdef _WIN32 | 30 #ifdef _WIN32 |
31 #define snprintf _snprintf | 31 #define snprintf _snprintf |
32 #endif | 32 #endif |
33 | 33 |
(...skipping 542 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
576 } | 576 } |
577 | 577 |
578 FPDF_DestroyLibrary(); | 578 FPDF_DestroyLibrary(); |
579 #ifdef PDF_ENABLE_V8 | 579 #ifdef PDF_ENABLE_V8 |
580 v8::V8::ShutdownPlatform(); | 580 v8::V8::ShutdownPlatform(); |
581 delete platform; | 581 delete platform; |
582 #endif // PDF_ENABLE_V8 | 582 #endif // PDF_ENABLE_V8 |
583 | 583 |
584 return 0; | 584 return 0; |
585 } | 585 } |
OLD | NEW |