diff options
Diffstat (limited to 'chrome/common/common_glue.cc')
-rw-r--r-- | chrome/common/common_glue.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/common/common_glue.cc b/chrome/common/common_glue.cc index 7d32310..0e173f80 100644 --- a/chrome/common/common_glue.cc +++ b/chrome/common/common_glue.cc @@ -4,6 +4,7 @@ #include "base/command_line.h" #include "base/path_service.h" +#include "build/build_config.h" #include "chrome/common/chrome_paths.h" #include "chrome/common/chrome_switches.h" #include "chrome/common/l10n_util.h" @@ -22,7 +23,13 @@ bool GetApplicationDirectory(std::wstring *path) { } bool IsPluginRunningInRendererProcess() { +#if defined(OS_WIN) return !IsPluginProcess(); +#else + // TODO(port): We need an implementation of IsPluginProcess. + NOTIMPLEMENTED(); + return false; +#endif } std::wstring GetWebKitLocale() { |