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

Unified Diff: webrtc/base/sha1digest.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/sha1.cc ('k') | webrtc/base/sha1digest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/sha1digest.h
diff --git a/webrtc/base/sha1digest.h b/webrtc/base/sha1digest.h
index d321cb8a12c865179105e49e7e2f86a6738e7191..e3b4ef840bd6c5fd05446e8d662f818135f30aa8 100644
--- a/webrtc/base/sha1digest.h
+++ b/webrtc/base/sha1digest.h
@@ -11,26 +11,9 @@
#ifndef WEBRTC_BASE_SHA1DIGEST_H_
#define WEBRTC_BASE_SHA1DIGEST_H_
-#include "webrtc/base/messagedigest.h"
-#include "webrtc/base/sha1.h"
-namespace rtc {
-
-// A simple wrapper for our SHA-1 implementation.
-class Sha1Digest : public MessageDigest {
- public:
- enum { kSize = SHA1_DIGEST_SIZE };
- Sha1Digest() {
- SHA1Init(&ctx_);
- }
- size_t Size() const override;
- void Update(const void* buf, size_t len) override;
- size_t Finish(void* buf, size_t len) override;
-
- private:
- SHA1_CTX ctx_;
-};
-
-} // 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/sha1digest.h"
#endif // WEBRTC_BASE_SHA1DIGEST_H_
« no previous file with comments | « webrtc/base/sha1.cc ('k') | webrtc/base/sha1digest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698