Index: sync/internal_api/public/util/time.h |
diff --git a/sync/util/time.h b/sync/internal_api/public/util/time.h |
similarity index 72% |
rename from sync/util/time.h |
rename to sync/internal_api/public/util/time.h |
index 8ba72a313b035586a807c3771c62e6cf8f60ba41..2969235583e9dd77a541c8557727b04f3c124936 100644 |
--- a/sync/util/time.h |
+++ b/sync/internal_api/public/util/time.h |
@@ -4,8 +4,8 @@ |
// |
// Time-related sync functions. |
-#ifndef SYNC_UTIL_TIME_H_ |
-#define SYNC_UTIL_TIME_H_ |
+#ifndef SYNC_INTERNAL_API_PUBLIC_UTIL_TIME_H_ |
+#define SYNC_INTERNAL_API_PUBLIC_UTIL_TIME_H_ |
#include <string> |
@@ -21,8 +21,10 @@ int64 TimeToProtoTime(const base::Time& t); |
// Converts a time field from sync protobufs to a time object. |
base::Time ProtoTimeToTime(int64 proto_t); |
+// Human-readable version of time |t|. Uses formatting from |
+// TimeFormatFriendlyDateAndTime. |
std::string GetTimeDebugString(const base::Time& t); |
} // namespace syncer |
-#endif // SYNC_UTIL_TIME_H_ |
+#endif // SYNC_INTERNAL_API_PUBLIC_UTIL_TIME_H_ |