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

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, 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/BUILD.gn ('k') | headless/lib/browser/headless_browser_context_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 b06766a4f92ada2ec78a5a8987df9072e128e39b..8bc04eb8f613e4f7600c5992befeac70aee0c537 100644
--- a/headless/lib/browser/headless_browser_context_impl.h
+++ b/headless/lib/browser/headless_browser_context_impl.h
@@ -18,14 +18,17 @@
#include "headless/lib/browser/headless_url_request_context_getter.h"
#include "headless/public/headless_browser.h"
#include "headless/public/headless_browser_context.h"
+#include "headless/public/headless_export.h"
namespace headless {
class HeadlessBrowserImpl;
+class HeadlessDownloadManagerDelegate;
class HeadlessResourceContext;
class HeadlessWebContentsImpl;
-class HeadlessBrowserContextImpl : public HeadlessBrowserContext,
- public content::BrowserContext {
+class HEADLESS_EXPORT HeadlessBrowserContextImpl
+ : public HeadlessBrowserContext,
+ public content::BrowserContext {
public:
~HeadlessBrowserContextImpl() override;
@@ -105,6 +108,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>>
« no previous file with comments | « headless/BUILD.gn ('k') | headless/lib/browser/headless_browser_context_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698