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

Side by Side Diff: core/src/fxcrt/fx_extension.cpp

Issue 1427633010: Fix relative includes within core/ (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 | « core/src/fxcrt/fx_bidi_unittest.cpp ('k') | core/src/fxcrt/fx_system_unittest.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 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 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 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #include "../../include/fxcrt/fx_basic.h" 7 #include "core/include/fxcrt/fx_basic.h"
8 #include "../../include/fxcrt/fx_ext.h" 8 #include "core/include/fxcrt/fx_ext.h"
9 #include "extension.h" 9 #include "extension.h"
10
10 #if _FXM_PLATFORM_ == _FXM_PLATFORM_WINDOWS_ 11 #if _FXM_PLATFORM_ == _FXM_PLATFORM_WINDOWS_
11 #include <wincrypt.h> 12 #include <wincrypt.h>
12 #else 13 #else
13 #include <ctime> 14 #include <ctime>
14 #endif 15 #endif
15 16
16 IFX_FileStream* FX_CreateFileStream(const FX_CHAR* filename, FX_DWORD dwModes) { 17 IFX_FileStream* FX_CreateFileStream(const FX_CHAR* filename, FX_DWORD dwModes) {
17 IFXCRT_FileAccess* pFA = FXCRT_FileAccess_Create(); 18 IFXCRT_FileAccess* pFA = FXCRT_FileAccess_Create();
18 if (!pFA) { 19 if (!pFA) {
19 return NULL; 20 return NULL;
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 void FX_Random_GenerateCrypto(FX_DWORD* pBuffer, int32_t iCount) { 294 void FX_Random_GenerateCrypto(FX_DWORD* pBuffer, int32_t iCount) {
294 #if _FXM_PLATFORM_ == _FXM_PLATFORM_WINDOWS_ 295 #if _FXM_PLATFORM_ == _FXM_PLATFORM_WINDOWS_
295 FX_GenerateCryptoRandom(pBuffer, iCount); 296 FX_GenerateCryptoRandom(pBuffer, iCount);
296 #else 297 #else
297 FX_Random_GenerateBase(pBuffer, iCount); 298 FX_Random_GenerateBase(pBuffer, iCount);
298 #endif 299 #endif
299 } 300 }
300 #ifdef __cplusplus 301 #ifdef __cplusplus
301 } 302 }
302 #endif 303 #endif
OLDNEW
« no previous file with comments | « core/src/fxcrt/fx_bidi_unittest.cpp ('k') | core/src/fxcrt/fx_system_unittest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698