diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2018-10-24 11:30:15 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2018-10-30 12:56:19 +0000 |
commit | 6036726eb981b6c4b42047513b9d3f4ac865daac (patch) | |
tree | 673593e70678e7789766d1f732eb51f613a2703b /chromium/content/browser/browser_thread_impl.h | |
parent | 466052c4e7c052268fd931888cd58961da94c586 (diff) | |
download | qtwebengine-chromium-6036726eb981b6c4b42047513b9d3f4ac865daac.tar.gz |
BASELINE: Update Chromium to 70.0.3538.78
Change-Id: Ie634710bf039e26c1957f4ae45e101bd4c434ae7
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.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/chromium/content/browser/browser_thread_impl.h b/chromium/content/browser/browser_thread_impl.h index cd0759c3f58..5789a29e1c5 100644 --- a/chromium/content/browser/browser_thread_impl.h +++ b/chromium/content/browser/browser_thread_impl.h @@ -39,6 +39,13 @@ class CONTENT_EXPORT BrowserThreadImpl : public BrowserThread { // |identifier|. static void ResetGlobalsForTesting(BrowserThread::ID identifier); + // Creates and registers a TaskExecutor that facilitates posting tasks to a + // BrowserThread via //base/task/post_task.h. + static void CreateTaskExecutor(); + + // Unregister and delete the TaskExecutor after a test. + static void ResetTaskExecutorForTesting(); + private: // Restrict instantiation to BrowserProcessSubThread as it performs important // initialization that shouldn't be bypassed (except by BrowserMainLoop for |