From b8f78858619c676955e1098ecc24f2612e55c84f Mon Sep 17 00:00:00 2001 From: hbos Date: Tue, 8 Mar 2016 07:12:54 -0800 Subject: [PATCH] Added webrtc/base/safe_conversions.h as a pseudonym for webrtc/base/numerics/safe_conversions.h. This prevents downstream projects from breaking that have not yet been updated to use the new file path. As soon as they have this file should be removed. This is a follow-up to https://codereview.webrtc.org/1753293002/. TBR=hta@webrtc.org NOPRESUBMIT=True NOTRY=True BUG=webrtc:5548 Review URL: https://codereview.webrtc.org/1774933003 Cr-Commit-Position: refs/heads/master@{#11912} --- webrtc/base/safe_conversions.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 webrtc/base/safe_conversions.h diff --git a/webrtc/base/safe_conversions.h b/webrtc/base/safe_conversions.h new file mode 100644 index 0000000000..accc8a9a67 --- /dev/null +++ b/webrtc/base/safe_conversions.h @@ -0,0 +1,21 @@ +/* + * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. + * + * Use of this source code is governed by a BSD-style license + * that can be found in the LICENSE file in the root of the source + * tree. An additional intellectual property rights grant can be found + * in the file PATENTS. All contributing project authors may + * be found in the AUTHORS file in the root of the source tree. + * + */ + +#ifndef WEBRTC_BASE_SAFE_CONVERSIONS_H_ +#define WEBRTC_BASE_SAFE_CONVERSIONS_H_ + +// TODO(hbos): This file has been replaced by the file being included below. +// It exists as to not break downstream projects before they have been updated +// to use the new file path. As soon as the new file path is used, this file +// should be removed. webrtc:5548 +#include "webrtc/base/numerics/safe_conversions.h" + +#endif // WEBRTC_BASE_SAFE_CONVERSIONS_H_