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

Side by Side Diff: xfa/src/fgas/src/crt/fx_system.cpp

Issue 1749703002: Remove fgas_base.h and IWYU (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 | « xfa/src/fgas/src/crt/fx_stream.cpp ('k') | xfa/src/fgas/src/crt/fx_utils.h » ('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 <algorithm> 7 #include <algorithm>
8 8
9 #include "xfa/src/fgas/src/fgas_base.h" 9 #include "core/include/fxcrt/fx_system.h"
10
10 #if _FX_OS_ == _FX_WIN32_DESKTOP_ || _FX_OS_ == _FX_WIN32_MOBILE_ || \ 11 #if _FX_OS_ == _FX_WIN32_DESKTOP_ || _FX_OS_ == _FX_WIN32_MOBILE_ || \
11 _FX_OS_ == _FX_WIN64_ 12 _FX_OS_ == _FX_WIN64_
12 #include <io.h> 13 #include <io.h>
13 #elif _FX_OS_ == _FX_LINUX_DESKTOP_ || _FX_OS_ == _FX_LINUX_Mini_ 14 #elif _FX_OS_ == _FX_LINUX_DESKTOP_ || _FX_OS_ == _FX_LINUX_Mini_
14 #include <sys/times.h> 15 #include <sys/times.h>
15 #endif 16 #endif
16 17
17 namespace { 18 namespace {
18 19
19 inline FX_BOOL FX_isupper(int32_t ch) { 20 inline FX_BOOL FX_isupper(int32_t ch) {
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 } else { 106 } else {
106 break; 107 break;
107 } 108 }
108 } 109 }
109 } 110 }
110 if (pUsedLen) { 111 if (pUsedLen) {
111 *pUsedLen = iUsedLen; 112 *pUsedLen = iUsedLen;
112 } 113 }
113 return bNegtive ? -fValue : fValue; 114 return bNegtive ? -fValue : fValue;
114 } 115 }
OLDNEW
« no previous file with comments | « xfa/src/fgas/src/crt/fx_stream.cpp ('k') | xfa/src/fgas/src/crt/fx_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698