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

Unified Diff: core/include/fxcrt/fx_safe_types.h

Issue 1147353006: Move fx_safe_types.h to include/ directory. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « BUILD.gn ('k') | core/src/fdrm/crypto/fx_crypt.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/include/fxcrt/fx_safe_types.h
diff --git a/core/src/fxcrt/fx_safe_types.h b/core/include/fxcrt/fx_safe_types.h
similarity index 71%
rename from core/src/fxcrt/fx_safe_types.h
rename to core/include/fxcrt/fx_safe_types.h
index 35a906cf27581d25468771da13743f143872ac7f..e45e6d3c8de7b0032e6c07759dd2e52b9191a259 100644
--- a/core/src/fxcrt/fx_safe_types.h
+++ b/core/include/fxcrt/fx_safe_types.h
@@ -2,16 +2,18 @@
// 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_
+#ifndef CORE_INCLUDE_FXCRT_FX_SAFE_TYPES_H_
+#define CORE_INCLUDE_FXCRT_FX_SAFE_TYPES_H_
#include <stdlib.h> // For size_t.
#include "../../../third_party/base/numerics/safe_math.h"
+#include "fx_stream.h" // for FX_FILESIZE.
+#include "fx_system.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_
+#endif // CORE_INCLUDE_FXCRT_FX_SAFE_TYPES_H_
« no previous file with comments | « BUILD.gn ('k') | core/src/fdrm/crypto/fx_crypt.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698