summaryrefslogtreecommitdiff
path: root/core/fxcrt/include/fx_safe_types.h
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-09-29 13:59:29 -0700
committerCommit bot <commit-bot@chromium.org>2016-09-29 13:59:29 -0700
commita52ab741019342fbca0468e43a01deb44fa5f1bd (patch)
tree9b1deef3b8deb23d65bf56348b220fe59dcd3169 /core/fxcrt/include/fx_safe_types.h
parent8a4e286e686c3027f382afb07d3ddcec4610fdd9 (diff)
downloadpdfium-a52ab741019342fbca0468e43a01deb44fa5f1bd.tar.xz
Move core/fxcrt/include to core/fxcrt
BUG=pdfium:611 Review-Url: https://codereview.chromium.org/2382723003
Diffstat (limited to 'core/fxcrt/include/fx_safe_types.h')
-rw-r--r--core/fxcrt/include/fx_safe_types.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/core/fxcrt/include/fx_safe_types.h b/core/fxcrt/include/fx_safe_types.h
deleted file mode 100644
index f12e74906b..0000000000
--- a/core/fxcrt/include/fx_safe_types.h
+++ /dev/null
@@ -1,20 +0,0 @@
-// Copyright 2014 PDFium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CORE_FXCRT_INCLUDE_FX_SAFE_TYPES_H_
-#define CORE_FXCRT_INCLUDE_FX_SAFE_TYPES_H_
-
-#include <stdlib.h> // For size_t.
-
-#include "core/fxcrt/include/fx_stream.h" // for FX_FILESIZE.
-#include "core/fxcrt/include/fx_system.h"
-#include "third_party/base/numerics/safe_math.h"
-
-typedef pdfium::base::CheckedNumeric<uint32_t> FX_SAFE_UINT32;
-typedef pdfium::base::CheckedNumeric<int32_t> FX_SAFE_INT32;
-typedef pdfium::base::CheckedNumeric<size_t> FX_SAFE_SIZE_T;
-typedef pdfium::base::CheckedNumeric<FX_FILESIZE> FX_SAFE_FILESIZE;
-typedef pdfium::base::CheckedNumeric<FX_STRSIZE> FX_SAFE_STRSIZE;
-
-#endif // CORE_FXCRT_INCLUDE_FX_SAFE_TYPES_H_