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

Side by Side Diff: core/src/fxcrt/extension.h

Issue 1152693005: Merge to XFA: Move fx_safe_types.h to include/ directory. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Fix BUILD.gn Created 5 years, 6 months 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
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 #ifndef CORE_SRC_FXCRT_EXTENSION_H_ 7 #ifndef CORE_SRC_FXCRT_EXTENSION_H_
8 #define CORE_SRC_FXCRT_EXTENSION_H_ 8 #define CORE_SRC_FXCRT_EXTENSION_H_
9 9
10 #include "fx_safe_types.h" 10 #include "../../include/fxcrt/fx_safe_types.h"
11 11
12 class IFXCRT_FileAccess 12 class IFXCRT_FileAccess
13 { 13 {
14 public: 14 public:
15 virtual ~IFXCRT_FileAccess() {} 15 virtual ~IFXCRT_FileAccess() {}
16 virtual FX_BOOL Open(FX_BSTR fileName, FX_DWORD dwMode) = 0; 16 virtual FX_BOOL Open(FX_BSTR fileName, FX_DWORD dwMode) = 0;
17 virtual FX_BOOL Open(FX_WSTR fileName, FX_DWORD dwMode) = 0; 17 virtual FX_BOOL Open(FX_WSTR fileName, FX_DWORD dwMode) = 0;
18 virtual void Close() = 0; 18 virtual void Close() = 0;
19 virtual void Release() = 0; 19 virtual void Release() = 0;
20 virtual FX_FILESIZE GetSize() const = 0; 20 virtual FX_FILESIZE GetSize() const = 0;
(...skipping 448 matching lines...) Expand 10 before | Expand all | Expand 10 after
469 } FX_MTRANDOMCONTEXT, * FX_LPMTRANDOMCONTEXT; 469 } FX_MTRANDOMCONTEXT, * FX_LPMTRANDOMCONTEXT;
470 typedef FX_MTRANDOMCONTEXT const * FX_LPCMTRANDOMCONTEXT; 470 typedef FX_MTRANDOMCONTEXT const * FX_LPCMTRANDOMCONTEXT;
471 #if _FXM_PLATFORM_ == _FXM_PLATFORM_WINDOWS_ 471 #if _FXM_PLATFORM_ == _FXM_PLATFORM_WINDOWS_
472 FX_BOOL FX_GenerateCryptoRandom(FX_LPDWORD pBuffer, FX_INT32 iCount); 472 FX_BOOL FX_GenerateCryptoRandom(FX_LPDWORD pBuffer, FX_INT32 iCount);
473 #endif 473 #endif
474 #ifdef __cplusplus 474 #ifdef __cplusplus
475 } 475 }
476 #endif 476 #endif
477 477
478 #endif // CORE_SRC_FXCRT_EXTENSION_H_ 478 #endif // CORE_SRC_FXCRT_EXTENSION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698