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

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

Issue 1425153006: Fix all relative includes to third_party. (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: rebase Created 5 years, 1 month 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/fxcodec/fx_codec_flate.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 #ifndef CORE_INCLUDE_FXCRT_FX_SAFE_TYPES_H_ 5 #ifndef CORE_INCLUDE_FXCRT_FX_SAFE_TYPES_H_
6 #define CORE_INCLUDE_FXCRT_FX_SAFE_TYPES_H_ 6 #define CORE_INCLUDE_FXCRT_FX_SAFE_TYPES_H_
7 7
8 #include <stdlib.h> // For size_t. 8 #include <stdlib.h> // For size_t.
9 9
10 #include "../../../third_party/base/numerics/safe_math.h"
11 #include "fx_stream.h" // for FX_FILESIZE. 10 #include "fx_stream.h" // for FX_FILESIZE.
12 #include "fx_system.h" 11 #include "fx_system.h"
12 #include "third_party/base/numerics/safe_math.h"
13 13
14 typedef pdfium::base::CheckedNumeric<FX_DWORD> FX_SAFE_DWORD; 14 typedef pdfium::base::CheckedNumeric<FX_DWORD> FX_SAFE_DWORD;
15 typedef pdfium::base::CheckedNumeric<int32_t> FX_SAFE_INT32; 15 typedef pdfium::base::CheckedNumeric<int32_t> FX_SAFE_INT32;
16 typedef pdfium::base::CheckedNumeric<size_t> FX_SAFE_SIZE_T; 16 typedef pdfium::base::CheckedNumeric<size_t> FX_SAFE_SIZE_T;
17 typedef pdfium::base::CheckedNumeric<FX_FILESIZE> FX_SAFE_FILESIZE; 17 typedef pdfium::base::CheckedNumeric<FX_FILESIZE> FX_SAFE_FILESIZE;
18 18
19 #endif // CORE_INCLUDE_FXCRT_FX_SAFE_TYPES_H_ 19 #endif // CORE_INCLUDE_FXCRT_FX_SAFE_TYPES_H_
OLDNEW
« no previous file with comments | « core/include/fxcodec/fx_codec_flate.h ('k') | core/include/fxcrt/fx_system.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698