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

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

Issue 2382723003: Move core/fxcrt/include to core/fxcrt (Closed)
Patch Set: Rebase to master Created 4 years, 2 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_ext.h ('k') | core/fxcrt/fx_extension_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 <utility> 7 #include <utility>
8 8
9 #include "core/fxcrt/extension.h" 9 #include "core/fxcrt/extension.h"
10 #include "core/fxcrt/include/fx_basic.h" 10 #include "core/fxcrt/fx_basic.h"
11 #include "core/fxcrt/include/fx_ext.h" 11 #include "core/fxcrt/fx_ext.h"
12 12
13 #if _FXM_PLATFORM_ == _FXM_PLATFORM_WINDOWS_ 13 #if _FXM_PLATFORM_ == _FXM_PLATFORM_WINDOWS_
14 #include <wincrypt.h> 14 #include <wincrypt.h>
15 #else 15 #else
16 #include <ctime> 16 #include <ctime>
17 #endif 17 #endif
18 18
19 #ifdef PDF_ENABLE_XFA 19 #ifdef PDF_ENABLE_XFA
20 20
21 CFX_CRTFileAccess::CFX_CRTFileAccess() : m_RefCount(0) {} 21 CFX_CRTFileAccess::CFX_CRTFileAccess() : m_RefCount(0) {}
(...skipping 587 matching lines...) Expand 10 before | Expand all | Expand 10 after
609 b = ((const uint8_t*)pGUID)[i]; 609 b = ((const uint8_t*)pGUID)[i];
610 *pBuf++ = gs_FX_pHexChars[b >> 4]; 610 *pBuf++ = gs_FX_pHexChars[b >> 4];
611 *pBuf++ = gs_FX_pHexChars[b & 0x0F]; 611 *pBuf++ = gs_FX_pHexChars[b & 0x0F];
612 if (bSeparator && (i == 3 || i == 5 || i == 7 || i == 9)) { 612 if (bSeparator && (i == 3 || i == 5 || i == 7 || i == 9)) {
613 *pBuf++ = L'-'; 613 *pBuf++ = L'-';
614 } 614 }
615 } 615 }
616 bsStr.ReleaseBuffer(bSeparator ? 36 : 32); 616 bsStr.ReleaseBuffer(bSeparator ? 36 : 32);
617 } 617 }
618 #endif // PDF_ENABLE_XFA 618 #endif // PDF_ENABLE_XFA
OLDNEW
« no previous file with comments | « core/fxcrt/fx_ext.h ('k') | core/fxcrt/fx_extension_unittest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698