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

Unified Diff: net/ftp/ftp_auth_cache.h

Issue 3522004: FBTF: Move ctors/dtors into implementation files. Adds ctors/dtors to non-POD structs. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 3 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
Index: net/ftp/ftp_auth_cache.h
diff --git a/net/ftp/ftp_auth_cache.h b/net/ftp/ftp_auth_cache.h
index 36156da01bf6644942e94200d4854695089c72d5..f935fe9dff5fc123ef4ef5f4d3379d25a63d9a4f 100644
--- a/net/ftp/ftp_auth_cache.h
+++ b/net/ftp/ftp_auth_cache.h
@@ -28,19 +28,16 @@ class FtpAuthCache {
struct Entry {
Entry(const GURL& origin, const string16& username,
- const string16& password)
- : origin(origin),
- username(username),
- password(password) {
- }
+ const string16& password);
+ ~Entry();
const GURL origin;
string16 username;
string16 password;
};
- FtpAuthCache() {}
- ~FtpAuthCache() {}
+ FtpAuthCache();
+ ~FtpAuthCache();
// Return Entry corresponding to given |origin| or NULL if not found.
Entry* Lookup(const GURL& origin);

Powered by Google App Engine
This is Rietveld 408576698