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

Side by Side Diff: core/fxcrt/fxcrt_platforms.cpp

Issue 1825953002: Move core/include/fxcrt to core/fxcrt/include. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 9 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
« no previous file with comments | « core/fxcrt/fx_xml_parser.cpp ('k') | core/fxcrt/fxcrt_posix.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 "core/fxcrt/fxcrt_platforms.h" 7 #include "core/fxcrt/fxcrt_platforms.h"
8 8
9 #include "core/include/fxcrt/fx_basic.h" 9 #include "core/fxcrt/include/fx_basic.h"
10 10
11 #if (_FXM_PLATFORM_ != _FXM_PLATFORM_WINDOWS_ && \ 11 #if (_FXM_PLATFORM_ != _FXM_PLATFORM_WINDOWS_ && \
12 _FXM_PLATFORM_ != _FXM_PLATFORM_LINUX_ && \ 12 _FXM_PLATFORM_ != _FXM_PLATFORM_LINUX_ && \
13 _FXM_PLATFORM_ != _FXM_PLATFORM_APPLE_ && \ 13 _FXM_PLATFORM_ != _FXM_PLATFORM_APPLE_ && \
14 _FXM_PLATFORM_ != _FXM_PLATFORM_ANDROID_) 14 _FXM_PLATFORM_ != _FXM_PLATFORM_ANDROID_)
15 IFXCRT_FileAccess* FXCRT_FileAccess_Create() { 15 IFXCRT_FileAccess* FXCRT_FileAccess_Create() {
16 return new CFXCRT_FileAccess_CRT; 16 return new CFXCRT_FileAccess_CRT;
17 } 17 }
18 void FXCRT_GetFileModeString(FX_DWORD dwModes, CFX_ByteString& bsMode) { 18 void FXCRT_GetFileModeString(FX_DWORD dwModes, CFX_ByteString& bsMode) {
19 if (dwModes & FX_FILEMODE_ReadOnly) { 19 if (dwModes & FX_FILEMODE_ReadOnly) {
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 FX_BOOL CFXCRT_FileAccess_CRT::Flush() { 123 FX_BOOL CFXCRT_FileAccess_CRT::Flush() {
124 if (!m_hFile) { 124 if (!m_hFile) {
125 return FALSE; 125 return FALSE;
126 } 126 }
127 return !FXSYS_fflush(m_hFile); 127 return !FXSYS_fflush(m_hFile);
128 } 128 }
129 FX_BOOL CFXCRT_FileAccess_CRT::Truncate(FX_FILESIZE szFile) { 129 FX_BOOL CFXCRT_FileAccess_CRT::Truncate(FX_FILESIZE szFile) {
130 return FALSE; 130 return FALSE;
131 } 131 }
132 #endif 132 #endif
OLDNEW
« no previous file with comments | « core/fxcrt/fx_xml_parser.cpp ('k') | core/fxcrt/fxcrt_posix.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698