Index: chrome/common/url_constants.cc |
diff --git a/chrome/common/url_constants.cc b/chrome/common/url_constants.cc |
index efc63bcbfc7c9b16a956310cc861653555745cf9..91d2a07d99ef4d9ebe57bb7823b43a1f24da654e 100644 |
--- a/chrome/common/url_constants.cc |
+++ b/chrome/common/url_constants.cc |
@@ -234,7 +234,8 @@ const char kChromeUIThemePath[] = "theme"; |
const char kChromeUIWelcomeHost[] = "welcome"; |
#endif |
-#if defined(OS_LINUX) || defined(OS_OPENBSD) |
+#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID) && \ |
+ !defined(OS_NACL) |
const char kChromeUILinuxProxyConfigHost[] = "linux-proxy-config"; |
const char kChromeUISandboxHost[] = "sandbox"; |
#endif |
@@ -555,7 +556,8 @@ const char* const kChromeHostURLs[] = { |
#if defined(OS_WIN) |
kChromeUIConflictsHost, |
#endif |
-#if defined(OS_LINUX) || defined(OS_OPENBSD) |
+#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID) && \ |
+ !defined(OS_NACL) |
kChromeUILinuxProxyConfigHost, |
kChromeUISandboxHost, |
#endif |