| Index: chrome/browser/browser_about_handler.cc
|
| diff --git a/chrome/browser/browser_about_handler.cc b/chrome/browser/browser_about_handler.cc
|
| index d9e192eff06654d7f548b34b4b9770bd62caed3d..8f88affc30e4bb7ca63eadcd3521a09eeda51bcd 100644
|
| --- a/chrome/browser/browser_about_handler.cc
|
| +++ b/chrome/browser/browser_about_handler.cc
|
| @@ -79,7 +79,7 @@
|
| #include "chrome/browser/chromeos/version_loader.h"
|
| #include "chrome/browser/oom_priority_manager.h"
|
| #include "content/browser/zygote_host_linux.h"
|
| -#elif defined(OS_LINUX)
|
| +#elif defined(OS_LINUX) || defined(OS_OPENBSD)
|
| #include "content/browser/zygote_host_linux.h"
|
| #endif
|
|
|
| @@ -152,7 +152,7 @@ const char* const kChromePaths[] = {
|
| #if defined(OS_WIN)
|
| chrome::kChromeUIConflictsHost,
|
| #endif
|
| -#if defined(OS_LINUX)
|
| +#if defined(OS_LINUX) || defined(OS_OPENBSD)
|
| chrome::kChromeUILinuxProxyConfigHost,
|
| chrome::kChromeUISandboxHost,
|
| #endif
|
| @@ -190,7 +190,7 @@ const char* const kAboutSourceNames[] = {
|
| #if defined(USE_TCMALLOC)
|
| chrome::kChromeUITCMallocHost,
|
| #endif
|
| -#if defined(OS_LINUX)
|
| +#if defined(OS_LINUX) || defined(OS_OPENBSD)
|
| chrome::kChromeUILinuxProxyConfigHost,
|
| chrome::kChromeUISandboxHost,
|
| #endif
|
| @@ -1066,7 +1066,7 @@ std::string AboutStats(const std::string& query) {
|
| return data;
|
| }
|
|
|
| -#if defined(OS_LINUX)
|
| +#if defined(OS_LINUX) || defined(OS_OPENBSD)
|
| std::string AboutLinuxProxyConfig() {
|
| std::string data;
|
| AppendHeader(&data, 0,
|
| @@ -1451,7 +1451,7 @@ void AboutSource::StartDataRequest(const std::string& path,
|
| return;
|
| } else if (host == chrome::kChromeUIHistogramsHost) {
|
| response = AboutHistograms(path);
|
| -#if defined(OS_LINUX)
|
| +#if defined(OS_LINUX) || defined(OS_OPENBSD)
|
| } else if (host == chrome::kChromeUILinuxProxyConfigHost) {
|
| response = AboutLinuxProxyConfig();
|
| #endif
|
| @@ -1467,7 +1467,7 @@ void AboutSource::StartDataRequest(const std::string& path,
|
| response = ResourceBundle::GetSharedInstance().GetRawDataResource(
|
| IDR_OS_CREDITS_HTML).as_string();
|
| #endif
|
| -#if defined(OS_LINUX)
|
| +#if defined(OS_LINUX) || defined(OS_OPENBSD)
|
| } else if (host == chrome::kChromeUISandboxHost) {
|
| response = AboutSandbox();
|
| #endif
|
|
|