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

Unified Diff: headless/public/headless_browser.h

Issue 2092773002: headless: Allow per-context protocol handlers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed 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_browser_context_browsertest.cc ('k') | headless/public/headless_browser_context.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 1711dc0da2df3d5056c8c54f94e5761872d3477d..2e9145153aecb42a4f126481436003fb8e0a6cbe 100644
--- a/headless/public/headless_browser.h
+++ b/headless/public/headless_browser.h
@@ -18,7 +18,6 @@
#include "headless/public/headless_web_contents.h"
#include "net/base/host_port_pair.h"
#include "net/base/ip_endpoint.h"
-#include "net/url_request/url_request_job_factory.h"
namespace base {
class MessagePump;
@@ -73,10 +72,6 @@ class HEADLESS_EXPORT HeadlessBrowser {
DISALLOW_COPY_AND_ASSIGN(HeadlessBrowser);
};
-using ProtocolHandlerMap = std::unordered_map<
- std::string,
- std::unique_ptr<net::URLRequestJobFactory::ProtocolHandler>>;
-
// Embedding API overrides for the headless browser.
struct HeadlessBrowser::Options {
class Builder;
« no previous file with comments | « headless/lib/headless_browser_context_browsertest.cc ('k') | headless/public/headless_browser_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698