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

Unified Diff: sync/internal_api/public/util/time.h

Issue 10917246: [Sync] Add keystore encryption info to about:sync (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase + address comments Created 8 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: 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_

Powered by Google App Engine
This is Rietveld 408576698