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

Unified Diff: headless/lib/browser/headless_devtools_manager_delegate.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_devtools_manager_delegate.h
diff --git a/headless/lib/browser/headless_devtools_manager_delegate.h b/headless/lib/browser/headless_devtools_manager_delegate.h
index a51254746268545f91429d860d678d4f166a000a..da9b54bf4b1507f80064efefa9f28e922d5f3121 100644
--- a/headless/lib/browser/headless_devtools_manager_delegate.h
+++ b/headless/lib/browser/headless_devtools_manager_delegate.h
@@ -62,6 +62,13 @@ class HeadlessDevToolsManagerDelegate
std::unique_ptr<base::DictionaryValue> DisposeBrowserContext(
int command_id,
const base::DictionaryValue* params);
+ std::unique_ptr<base::DictionaryValue> SetDownloadBehavior(
+ int command_id,
+ const base::DictionaryValue* params);
+ std::unique_ptr<base::DictionaryValue> SetDownloadDirectory(
+ int command_id,
+ const base::DictionaryValue* params);
+
void PrintToPDF(content::DevToolsAgentHost* agent_host,
int command_id,
const base::DictionaryValue* params,

Powered by Google App Engine
This is Rietveld 408576698