Safe numeric library added: base/numerics (copied from Chromium)
This copies the contents (unittest excluded) of base/numerics in chromium to base/numerics in webrtc. Files added: - safe_conversions.h - safe_conversions_impl.h - safe_math.h - safe_math_impl.h A really old version of safe_conversions[_impl].h previously existed in base/, this has been deleted and sources using it have been updated to include the new base/numerics/safe_converions.h. This CL also adds a DEPS file to webrtc/base. NOPRESUBMIT=True BUG=webrtc:5548, webrtc:5623 Review URL: https://codereview.webrtc.org/1753293002 Cr-Commit-Position: refs/heads/master@{#11907}
This commit is contained in:
@ -13,7 +13,7 @@
|
||||
|
||||
#include "testing/gmock/include/gmock/gmock.h"
|
||||
#include "testing/gtest/include/gtest/gtest.h"
|
||||
#include "webrtc/base/safe_conversions.h"
|
||||
#include "webrtc/base/numerics/safe_conversions.h"
|
||||
#include "webrtc/modules/audio_coding/neteq/accelerate.h"
|
||||
#include "webrtc/modules/audio_coding/neteq/expand.h"
|
||||
#include "webrtc/modules/audio_coding/neteq/mock/mock_audio_decoder.h"
|
||||
|
||||
Reference in New Issue
Block a user