| Index: chrome/browser/browser_about_handler.cc
|
| diff --git a/chrome/browser/browser_about_handler.cc b/chrome/browser/browser_about_handler.cc
|
| index 6e4d126f5804adf102631c60d710aa59963bce6f..bc76afcbd1743980a7bd8fbad7783830be6aa40d 100644
|
| --- a/chrome/browser/browser_about_handler.cc
|
| +++ b/chrome/browser/browser_about_handler.cc
|
| @@ -80,7 +80,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
|
| @@ -188,7 +188,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
|
| @@ -1062,7 +1062,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,
|
| @@ -1447,7 +1447,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
|
| @@ -1463,7 +1463,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
|
|
|