summaryrefslogtreecommitdiff
path: root/src/mbgl/util/http_header.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/util/http_header.hpp')
-rw-r--r--src/mbgl/util/http_header.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mbgl/util/http_header.hpp b/src/mbgl/util/http_header.hpp
index e68c5e9fed..1dc8498de0 100644
--- a/src/mbgl/util/http_header.hpp
+++ b/src/mbgl/util/http_header.hpp
@@ -2,6 +2,7 @@
#define MBGL_UTIL_HTTP_HEADER
#include <mbgl/util/optional.hpp>
+#include <mbgl/util/chrono.hpp>
#include <string>
@@ -14,6 +15,8 @@ public:
optional<uint64_t> maxAge;
bool mustRevalidate = false;
+
+ optional<SystemTimePoint> toTimePoint() const;
};
} // namespace http