| 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 "../testing/test_support.h" |  | 
|   18 #include "image_diff_png.h" |   17 #include "image_diff_png.h" | 
|   19 #include "public/fpdf_dataavail.h" |   18 #include "public/fpdf_dataavail.h" | 
|   20 #include "public/fpdf_ext.h" |   19 #include "public/fpdf_ext.h" | 
|   21 #include "public/fpdf_formfill.h" |   20 #include "public/fpdf_formfill.h" | 
|   22 #include "public/fpdf_text.h" |   21 #include "public/fpdf_text.h" | 
|   23 #include "public/fpdfview.h" |   22 #include "public/fpdfview.h" | 
 |   23 #include "testing/test_support.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 573 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  607   } |  607   } | 
|  608  |  608  | 
|  609   FPDF_DestroyLibrary(); |  609   FPDF_DestroyLibrary(); | 
|  610 #ifdef PDF_ENABLE_V8 |  610 #ifdef PDF_ENABLE_V8 | 
|  611   v8::V8::ShutdownPlatform(); |  611   v8::V8::ShutdownPlatform(); | 
|  612   delete platform; |  612   delete platform; | 
|  613 #endif  // PDF_ENABLE_V8 |  613 #endif  // PDF_ENABLE_V8 | 
|  614  |  614  | 
|  615   return 0; |  615   return 0; | 
|  616 } |  616 } | 
| OLD | NEW |