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

Unified Diff: net/base/auth.h

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/BUILD.gn ('k') | net/base/auth.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/auth.h
diff --git a/net/base/auth.h b/net/base/auth.h
index 5f97acbf87f62b7d753ead6de4e5866a0b3f12a6..9db8447f94b75dd57e416b23f088428264bdbb4d 100644
--- a/net/base/auth.h
+++ b/net/base/auth.h
@@ -59,10 +59,6 @@ class NET_EXPORT AuthCredentials {
// Returns true if all credentials are empty.
bool Empty() const;
- // Overwrites the password memory to prevent it from being read if
- // it's paged out to disk.
- void Zap();
-
const base::string16& username() const { return username_; }
const base::string16& password() const { return password_; }
« no previous file with comments | « net/BUILD.gn ('k') | net/base/auth.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698