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

Unified Diff: base/time/time.h

Issue 665023002: Post-commit fixes for "stale-while-revalidate..." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make DCHECK_EQ work for TimeDelta objects. Created 6 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: base/time/time.h
diff --git a/base/time/time.h b/base/time/time.h
index 3cf3746166ed8dc16cc937945d0918cfe6ef8ede..d8de2e2dcbece4d062f9c61537dbab278267de3f 100644
--- a/base/time/time.h
+++ b/base/time/time.h
@@ -19,6 +19,10 @@
//
// These classes are represented as only a 64-bit value, so they can be
// efficiently passed by value.
+//
+// To make these types work with DCHECK_EQ() and other log macros, include
+// "base/time/time_logging.h". For human-readable formatting, see
+// "base/i18n/time_formatting.h".
#ifndef BASE_TIME_TIME_H_
#define BASE_TIME_TIME_H_
« no previous file with comments | « base/base.gypi ('k') | base/time/time_logging.h » ('j') | base/time/time_logging.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698