| Index: chrome/browser/process_singleton.h
|
| diff --git a/chrome/browser/process_singleton.h b/chrome/browser/process_singleton.h
|
| index 3260c4ef240cc0c07574840777051a3c5ce44ef0..6f1be10489eddac9f38d3d789d16cd219c7aedb9 100644
|
| --- a/chrome/browser/process_singleton.h
|
| +++ b/chrome/browser/process_singleton.h
|
| @@ -24,7 +24,7 @@
|
| #include "base/threading/non_thread_safe.h"
|
| #include "ui/gfx/native_widget_types.h"
|
|
|
| -#if defined(OS_POSIX) && !defined(OS_ANDROID)
|
| +#if defined(OS_POSIX) && (!defined(OS_ANDROID) || defined(USE_AURA))
|
| #include "base/files/scoped_temp_dir.h"
|
| #endif
|
|
|
| @@ -89,7 +89,7 @@ class ProcessSingleton : public base::NonThreadSafe {
|
| // Clear any lock state during shutdown.
|
| void Cleanup();
|
|
|
| -#if defined(OS_POSIX) && !defined(OS_ANDROID)
|
| +#if defined(OS_POSIX) && (!defined(OS_ANDROID) || defined(USE_AURA))
|
| static void DisablePromptForTesting();
|
| #endif
|
| #if defined(OS_WIN)
|
| @@ -107,7 +107,7 @@ class ProcessSingleton : public base::NonThreadSafe {
|
| // On Windows, Create() has to be called before this.
|
| NotifyResult NotifyOtherProcess();
|
|
|
| -#if defined(OS_POSIX) && !defined(OS_ANDROID)
|
| +#if defined(OS_POSIX) && (!defined(OS_ANDROID) || defined(USE_AURA))
|
| // Exposed for testing. We use a timeout on Linux, and in tests we want
|
| // this timeout to be short.
|
| NotifyResult NotifyOtherProcessWithTimeout(
|
| @@ -136,7 +136,7 @@ class ProcessSingleton : public base::NonThreadSafe {
|
| HANDLE lock_file_;
|
| base::FilePath user_data_dir_;
|
| ShouldKillRemoteProcessCallback should_kill_remote_process_callback_;
|
| -#elif defined(OS_POSIX) && !defined(OS_ANDROID)
|
| +#elif defined(OS_POSIX) && (!defined(OS_ANDROID) || defined(USE_AURA))
|
| // Return true if the given pid is one of our child processes.
|
| // Assumes that the current pid is the root of all pids of the current
|
| // instance.
|
|
|