Platform-ize epoll_export, epoll_ptr_util. Make code chromium compatible.
gfe-relnote: (n/a) refactory, code clean up.

PiperOrigin-RevId: 243883900
Change-Id: I04aedce25c3012331a39a770c54ba7836648a8e2
diff --git a/epoll_server/platform/api/epoll_ptr_util.h b/epoll_server/platform/api/epoll_ptr_util.h
new file mode 100644
index 0000000..2de39ca
--- /dev/null
+++ b/epoll_server/platform/api/epoll_ptr_util.h
@@ -0,0 +1,21 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef QUICHE_EPOLL_SERVER_PLATFORM_API_EPOLL_PTR_UTIL_H_
+#define QUICHE_EPOLL_SERVER_PLATFORM_API_EPOLL_PTR_UTIL_H_
+
+#include <memory>
+
+#include "net/tools/epoll_server/platform/impl/epoll_ptr_util_impl.h"
+
+namespace epoll_server {
+
+template <typename T, typename... Args>
+std::unique_ptr<T> EpollMakeUnique(Args&&... args) {
+  return EpollMakeUniqueImpl<T>(std::forward<Args>(args)...);
+}
+
+}  // namespace epoll_server
+
+#endif  // QUICHE_EPOLL_SERVER_PLATFORM_API_EPOLL_PTR_UTIL_H_