summaryrefslogtreecommitdiff
path: root/chromium/content/browser/browser_thread_impl.h
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2019-02-13 16:23:34 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2019-02-14 10:37:21 +0000
commit38a9a29f4f9436cace7f0e7abf9c586057df8a4e (patch)
treec4e8c458dc595bc0ddb435708fa2229edfd00bd4 /chromium/content/browser/browser_thread_impl.h
parente684a3455bcc29a6e3e66a004e352dea4e1141e7 (diff)
downloadqtwebengine-chromium-38a9a29f4f9436cace7f0e7abf9c586057df8a4e.tar.gz
BASELINE: Update Chromium to 73.0.3683.37
Change-Id: I08c9af2948b645f671e5d933aca1f7a90ea372f2 Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
Diffstat (limited to 'chromium/content/browser/browser_thread_impl.h')
-rw-r--r--chromium/content/browser/browser_thread_impl.h11
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