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

Unified Diff: net/base/x509_certificate.h

Issue 7995: Move Time, TimeDelta and TimeTicks into namespace base. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years, 2 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/base/x509_certificate.h
===================================================================
--- net/base/x509_certificate.h (revision 3954)
+++ net/base/x509_certificate.h (working copy)
@@ -126,7 +126,7 @@
// Creates a X509Certificate from the ground up. Used by tests that simulate
// SSL connections.
X509Certificate(std::string subject, std::string issuer,
- Time start_date, Time expiration_date);
+ base::Time start_date, base::Time expiration_date);
// Appends a representation of this object to the given pickle.
void Persist(Pickle* pickle);
@@ -144,8 +144,8 @@
// the |valid_expiry| date.
// If we were unable to parse either date from the certificate (or if the cert
// lacks either date), the date will be null (i.e., is_null() will be true).
- const Time& valid_start() const { return valid_start_; }
- const Time& valid_expiry() const { return valid_expiry_; }
+ const base::Time& valid_start() const { return valid_start_; }
+ const base::Time& valid_expiry() const { return valid_expiry_; }
// The fingerprint of this certificate.
const Fingerprint& fingerprint() const { return fingerprint_; }
@@ -210,10 +210,10 @@
Principal issuer_;
// This certificate is not valid before |valid_start_|
- Time valid_start_;
+ base::Time valid_start_;
// This certificate is not valid after |valid_expiry_|
- Time valid_expiry_;
+ base::Time valid_expiry_;
// The fingerprint of this certificate.
Fingerprint fingerprint_;

Powered by Google App Engine
This is Rietveld 408576698