Move std::chrono using statements to util/
This patch moves openscreen::<time type> using statements to be part of
a new util/ header, chrono_helpers.h. Some helpful convenience
functions are provided for doing conversions, and a new conversion
method, to_duration, is added to the Clock implementation.
Change-Id: I5a153c4da5266bceea97de0cad00a71a739f71ca
Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/2222684
Reviewed-by: mark a. foltz <mfoltz@chromium.org>
Reviewed-by: Ryan Keane <rwkeane@google.com>
Commit-Queue: Jordan Bayles <jophba@chromium.org>
diff --git a/platform/api/time_unittest.cc b/platform/api/time_unittest.cc
index f4d66fc..c032852 100644
--- a/platform/api/time_unittest.cc
+++ b/platform/api/time_unittest.cc
@@ -4,9 +4,11 @@
#include "platform/api/time.h"
+#include <chrono>
#include <thread>
#include "gtest/gtest.h"
+#include "util/chrono_helpers.h"
namespace openscreen {
namespace {