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

Unified Diff: net/base/auth.cc

Issue 2926333002: Remove unnecessary attempts at memory cleaning (Closed)
Patch Set: Fix zeroization 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 | « net/base/auth.h ('k') | net/base/zap.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/auth.cc
diff --git a/net/base/auth.cc b/net/base/auth.cc
index a1af831030c3e726ee50d1cffff6b9dfbdd09e89..9815ed597f020a664087be4c20d6cb80345765e0 100644
--- a/net/base/auth.cc
+++ b/net/base/auth.cc
@@ -3,7 +3,6 @@
// found in the LICENSE file.
#include "net/base/auth.h"
-#include "net/base/zap.h"
namespace net {
@@ -45,8 +44,4 @@ bool AuthCredentials::Empty() const {
return username_.empty() && password_.empty();
}
-void AuthCredentials::Zap() {
- ZapString(&password_);
-}
-
} // namespace net
« no previous file with comments | « net/base/auth.h ('k') | net/base/zap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698