Index: sandbox/linux/services/build_config_functions.h |
diff --git a/build/build_config_functions.h b/sandbox/linux/services/build_config_functions.h |
similarity index 74% |
rename from build/build_config_functions.h |
rename to sandbox/linux/services/build_config_functions.h |
index bd1b385fe4dc44d06e233057a1aba70a1174e11d..4c7587cbfb2bcf7f70c9ca224735e0a5edb7697d 100644 |
--- a/build/build_config_functions.h |
+++ b/sandbox/linux/services/build_config_functions.h |
@@ -6,12 +6,12 @@ |
// compile without them. Thanks to compiler optimizations, the final generated |
// binary should look the same when using these. |
-#ifndef BUILD_BUILD_CONFIG_FUNCTIONS_H_ |
-#define BUILD_BUILD_CONFIG_FUNCTIONS_H_ |
+#ifndef SANDBOX_LINUX_SERVICES_BUILD_CONFIG_FUNCTIONS_H_ |
+#define SANDBOX_LINUX_SERVICES_BUILD_CONFIG_FUNCTIONS_H_ |
#include "build/build_config.h" |
-namespace build { |
+namespace sandbox { |
namespace { |
@@ -47,30 +47,6 @@ inline bool IsAndroid() { |
#endif |
} |
-inline bool IsPOSIX() { |
jww
2013/12/06 01:56:59
I assume you purposefully got rid of these functio
|
-#if defined(OS_POSIX) |
- return true; |
-#else |
- return false; |
-#endif |
-} |
- |
-inline bool IsWindows() { |
-#if defined(OS_WIN) |
- return true; |
-#else |
- return false; |
-#endif |
-} |
- |
-inline bool IsMac() { |
-#if defined(OS_MACOSX) |
- return true; |
-#else |
- return false; |
-#endif |
-} |
- |
inline bool IsArchitectureX86_64() { |
#if defined(ARCH_CPU_X86_64) |
return true; |
@@ -105,6 +81,6 @@ inline bool IsUsingToolKitGtk() { |
} // namespace. |
-} // namespace build. |
+} // namespace sandbox. |
-#endif // BUILD_BUILD_CONFIG_FUNCTIONS_H_ |
+#endif // SANDBOX_LINUX_SERVICES_BUILD_CONFIG_FUNCTIONS_H_ |