summaryrefslogtreecommitdiff
path: root/core/src/fxcrt/fx_safe_types.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-06-04 18:53:39 -0700
committerTom Sepez <tsepez@chromium.org>2015-06-04 18:53:39 -0700
commit738ca226d4093e9e422b48e9bb460bb65076f973 (patch)
tree0700ab152ccb6c71e4135b748b22e2157a176301 /core/src/fxcrt/fx_safe_types.h
parent80b597d3f32ef2509627c7561abb84a6f5ac09bf (diff)
downloadpdfium-738ca226d4093e9e422b48e9bb460bb65076f973.tar.xz
Move fx_safe_types.h to include/ directory.
Small bit of OCD here, since this file is included cross-library (i.e. from fpdfsk), it can't be in src/. In other words, the following should be empty: grep -R 'include.*core/src/' fpdfsdk Fix some IWYU in it at the same time. R=thestig@chromium.org Review URL: https://codereview.chromium.org/1147353006
Diffstat (limited to 'core/src/fxcrt/fx_safe_types.h')
-rw-r--r--core/src/fxcrt/fx_safe_types.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/core/src/fxcrt/fx_safe_types.h b/core/src/fxcrt/fx_safe_types.h
deleted file mode 100644
index 35a906cf27..0000000000
--- a/core/src/fxcrt/fx_safe_types.h
+++ /dev/null
@@ -1,17 +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_SRC_FXCRT_FX_SAFE_TYPES_H_
-#define CORE_SRC_FXCRT_FX_SAFE_TYPES_H_
-
-#include <stdlib.h> // For size_t.
-
-#include "../../../third_party/base/numerics/safe_math.h"
-
-typedef pdfium::base::CheckedNumeric<FX_DWORD> FX_SAFE_DWORD;
-typedef pdfium::base::CheckedNumeric<FX_INT32> FX_SAFE_INT32;
-typedef pdfium::base::CheckedNumeric<size_t> FX_SAFE_SIZE_T;
-typedef pdfium::base::CheckedNumeric<FX_FILESIZE> FX_SAFE_FILESIZE;
-
-#endif // CORE_SRC_FXCRT_FX_SAFE_TYPES_H_