Put http_common functions on the UE namespace.
This patch simply moves all the global symbols in http_common.* to
the chromeos_update_engine namespace.
BUG=None
TEST=Build.
Change-Id: I38b3ffe20b5eec4fe124aa54d9952614081b57d9
Reviewed-on: https://chromium-review.googlesource.com/192966
Reviewed-by: Chris Sosa <sosa@chromium.org>
Tested-by: Alex Deymo <deymo@chromium.org>
Commit-Queue: Alex Deymo <deymo@chromium.org>
diff --git a/http_common.h b/http_common.h
index 2c52445..51e9e7a 100644
--- a/http_common.h
+++ b/http_common.h
@@ -8,7 +8,9 @@
#ifndef CHROMEOS_PLATFORM_UPDATE_ENGINE_HTTP_COMMON_H_
#define CHROMEOS_PLATFORM_UPDATE_ENGINE_HTTP_COMMON_H_
-#include <stdlib.h>
+#include <cstdlib>
+
+namespace chromeos_update_engine {
// Enumeration type for HTTP response codes.
enum HttpResponseCode {
@@ -55,4 +57,6 @@
// Returns a standard HTTP Content-Type string.
const char *GetHttpContentTypeString(HttpContentType type);
+} // namespace chromeos_update_engine
+
#endif // CHROMEOS_PLATFORM_UPDATE_ENGINE_HTTP_COMMON_H_