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

Unified Diff: webrtc/base/sha1.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/sequenced_task_checker_unittest.cc ('k') | webrtc/base/sha1.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/sha1.h
diff --git a/webrtc/base/sha1.h b/webrtc/base/sha1.h
index aa5a6a55060087f19c1021cd6fb8143f6aec528c..fde3e598c3d8062a7ef29218b87bace7562322b9 100644
--- a/webrtc/base/sha1.h
+++ b/webrtc/base/sha1.h
@@ -10,24 +10,9 @@
#ifndef WEBRTC_BASE_SHA1_H_
#define WEBRTC_BASE_SHA1_H_
-#include <stdint.h>
-#include <stdlib.h>
-namespace rtc {
-
-struct SHA1_CTX {
- uint32_t state[5];
- // TODO: Change bit count to uint64_t.
- uint32_t count[2]; // Bit count of input.
- uint8_t buffer[64];
-};
-
-#define SHA1_DIGEST_SIZE 20
-
-void SHA1Init(SHA1_CTX* context);
-void SHA1Update(SHA1_CTX* context, const uint8_t* data, size_t len);
-void SHA1Final(SHA1_CTX* context, uint8_t digest[SHA1_DIGEST_SIZE]);
+// 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/sha1.h"
#endif // WEBRTC_BASE_SHA1_H_
-
-} // namespace rtc
« no previous file with comments | « webrtc/base/sequenced_task_checker_unittest.cc ('k') | webrtc/base/sha1.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698