| Index: webrtc/base/crc32.h
|
| diff --git a/webrtc/base/crc32.h b/webrtc/base/crc32.h
|
| index 9661876298260aaf4c81cab8e0054326371144a7..6854567cc69e73118b5a509c849835dba8b90f7a 100644
|
| --- a/webrtc/base/crc32.h
|
| +++ b/webrtc/base/crc32.h
|
| @@ -11,24 +11,9 @@
|
| #ifndef WEBRTC_BASE_CRC32_H_
|
| #define WEBRTC_BASE_CRC32_H_
|
|
|
| -#include <string>
|
|
|
| -#include "webrtc/base/basictypes.h"
|
| -
|
| -namespace rtc {
|
| -
|
| -// Updates a CRC32 checksum with |len| bytes from |buf|. |initial| holds the
|
| -// checksum result from the previous update; for the first call, it should be 0.
|
| -uint32_t UpdateCrc32(uint32_t initial, const void* buf, size_t len);
|
| -
|
| -// Computes a CRC32 checksum using |len| bytes from |buf|.
|
| -inline uint32_t ComputeCrc32(const void* buf, size_t len) {
|
| - return UpdateCrc32(0, buf, len);
|
| -}
|
| -inline uint32_t ComputeCrc32(const std::string& str) {
|
| - return ComputeCrc32(str.c_str(), str.size());
|
| -}
|
| -
|
| -} // namespace rtc
|
| +// This header is deprecated and is just left here temporarily during
|
| +// refactoring. See https://bugs.webrtc.org/7634 for more details.
|
| +#include "webrtc/rtc_base/crc32.h"
|
|
|
| #endif // WEBRTC_BASE_CRC32_H_
|
|
|