diff options
Diffstat (limited to 'chromium/content/browser/browser_thread_impl.h')
-rw-r--r-- | chromium/content/browser/browser_thread_impl.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/chromium/content/browser/browser_thread_impl.h b/chromium/content/browser/browser_thread_impl.h index a09d5832607..43a94f17f36 100644 --- a/chromium/content/browser/browser_thread_impl.h +++ b/chromium/content/browser/browser_thread_impl.h @@ -7,9 +7,15 @@ #include "base/memory/scoped_refptr.h" #include "base/single_thread_task_runner.h" +#include "build/build_config.h" #include "content/common/content_export.h" #include "content/public/browser/browser_thread.h" +#if defined(OS_POSIX) +#include "base/files/file_descriptor_watcher_posix.h" +#include "base/optional.h" +#endif + namespace content { class BrowserMainLoop; @@ -62,6 +68,11 @@ class CONTENT_EXPORT BrowserThreadImpl : public BrowserThread { // The identifier of this thread. Only one thread can exist with a given // identifier at a given time. ID identifier_; + +#if defined(OS_POSIX) + // Allows usage of the FileDescriptorWatcher API on the UI thread. + base::Optional<base::FileDescriptorWatcher> file_descriptor_watcher_; +#endif }; } // namespace content |