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

Unified Diff: headless/lib/browser/headless_browser_context_impl.h

Issue 2886693002: initial version of the headless download manager delegate
Patch Set: initial version of the headless download manager delegate Created 3 years, 7 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
Index: headless/lib/browser/headless_browser_context_impl.h
diff --git a/headless/lib/browser/headless_browser_context_impl.h b/headless/lib/browser/headless_browser_context_impl.h
index e6a77f107c897a461fd13243aca87cdb89190c5e..85a2ae298fd227bdb36aec80f1ba72a62fcb5389 100644
--- a/headless/lib/browser/headless_browser_context_impl.h
+++ b/headless/lib/browser/headless_browser_context_impl.h
@@ -21,6 +21,7 @@
namespace headless {
class HeadlessBrowserImpl;
+class HeadlessDownloadManagerDelegate;
class HeadlessResourceContext;
class HeadlessWebContentsImpl;
@@ -103,6 +104,7 @@ class HeadlessBrowserContextImpl : public HeadlessBrowserContext,
HeadlessBrowserImpl* browser_; // Not owned.
std::unique_ptr<HeadlessBrowserContextOptions> context_options_;
std::unique_ptr<HeadlessResourceContext> resource_context_;
+ std::unique_ptr<HeadlessDownloadManagerDelegate> download_manager_delegate_;
base::FilePath path_;
std::unordered_map<std::string, std::unique_ptr<HeadlessWebContents>>

Powered by Google App Engine
This is Rietveld 408576698