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

Unified Diff: webrtc/base/crc32.h

Issue 2877023002: Move webrtc/{base => rtc_base} (Closed)
Patch Set: update presubmit.py and DEPS include rules Created 3 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 | « webrtc/base/cpu_time_unittest.cc ('k') | webrtc/base/crc32.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « webrtc/base/cpu_time_unittest.cc ('k') | webrtc/base/crc32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698