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

Side by Side Diff: core/include/fxcrt/fx_string.h

Issue 1162013003: Merge to XFA: Fix ALL the include guards. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Re-upload. 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
« no previous file with comments | « core/include/fxcrt/fx_stream.h ('k') | core/include/fxcrt/fx_system.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 #ifndef _FX_STRING_H_ 7 #ifndef CORE_INCLUDE_FXCRT_FX_STRING_H_
8 #define _FX_STRING_H_ 8 #define CORE_INCLUDE_FXCRT_FX_STRING_H_
9 9
10 #include <stdint.h> // For intptr_t. 10 #include <stdint.h> // For intptr_t.
11 #include <algorithm> 11 #include <algorithm>
12 12
13 #include "fx_memory.h" 13 #include "fx_memory.h"
14 #include "fx_system.h" 14 #include "fx_system.h"
15 15
16 class CFX_BinaryBuf; 16 class CFX_BinaryBuf;
17 class CFX_ByteString; 17 class CFX_ByteString;
18 class CFX_WideString; 18 class CFX_WideString;
(...skipping 876 matching lines...) Expand 10 before | Expand all | Expand 10 after
895 FX_STRSIZE FX_ftoa(FX_FLOAT f, FX_LPSTR buf); 895 FX_STRSIZE FX_ftoa(FX_FLOAT f, FX_LPSTR buf);
896 CFX_ByteString FX_UTF8Encode(FX_LPCWSTR pwsStr, FX_STRSIZE len); 896 CFX_ByteString FX_UTF8Encode(FX_LPCWSTR pwsStr, FX_STRSIZE len);
897 inline CFX_ByteString FX_UTF8Encode(FX_WSTR wsStr) 897 inline CFX_ByteString FX_UTF8Encode(FX_WSTR wsStr)
898 { 898 {
899 return FX_UTF8Encode(wsStr.GetPtr(), wsStr.GetLength()); 899 return FX_UTF8Encode(wsStr.GetPtr(), wsStr.GetLength());
900 } 900 }
901 inline CFX_ByteString FX_UTF8Encode(const CFX_WideString &wsStr) 901 inline CFX_ByteString FX_UTF8Encode(const CFX_WideString &wsStr)
902 { 902 {
903 return FX_UTF8Encode(wsStr.c_str(), wsStr.GetLength()); 903 return FX_UTF8Encode(wsStr.c_str(), wsStr.GetLength());
904 } 904 }
905 #endif 905
906 #endif // CORE_INCLUDE_FXCRT_FX_STRING_H_
OLDNEW
« no previous file with comments | « core/include/fxcrt/fx_stream.h ('k') | core/include/fxcrt/fx_system.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698