Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(309)

Unified Diff: headless/public/headless_browser.h

Issue 2035733002: headless: Implement screenshot capturing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addresses reviewer comments. Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « headless/lib/headless_web_contents_browsertest.cc ('k') | headless/test/headless_browser_test.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: headless/public/headless_browser.h
diff --git a/headless/public/headless_browser.h b/headless/public/headless_browser.h
index c1f5b4d0974d9bf7d7ca58c63ef9fb34b7695f33..b869fc44fdf2c48fcfd5d870b8eb6ce2c760e3de 100644
--- a/headless/public/headless_browser.h
+++ b/headless/public/headless_browser.h
@@ -8,6 +8,7 @@
#include <memory>
#include <string>
#include <unordered_map>
+#include <vector>
#include "base/callback.h"
#include "base/macros.h"
@@ -51,6 +52,10 @@ class HEADLESS_EXPORT HeadlessBrowser {
virtual scoped_refptr<base::SingleThreadTaskRunner> BrowserMainThread()
const = 0;
+ // Returns a task runner for submitting work to the browser file thread.
+ virtual scoped_refptr<base::SingleThreadTaskRunner> BrowserFileThread()
+ const = 0;
+
// Requests browser to stop as soon as possible. |Run| will return as soon as
// browser stops.
virtual void Shutdown() = 0;
« no previous file with comments | « headless/lib/headless_web_contents_browsertest.cc ('k') | headless/test/headless_browser_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698