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: content/browser/devtools/protocol/target_handler.h

Issue 2436763003: [DevTools] Remove Browser domain, switch clients to Target. (Closed)
Patch Set: include, rebase Created 4 years, 2 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: content/browser/devtools/protocol/target_handler.h
diff --git a/content/browser/devtools/protocol/target_handler.h b/content/browser/devtools/protocol/target_handler.h
index 3c719a14c7decd23587ab881f144a86d978c481d..c37c60228491b3b525e5a44af17cc45ec3ab7089 100644
--- a/content/browser/devtools/protocol/target_handler.h
+++ b/content/browser/devtools/protocol/target_handler.h
@@ -49,6 +49,16 @@ class TargetHandler : public DevToolsAgentHostClient,
Response GetTargetInfo(const std::string& target_id,
scoped_refptr<TargetInfo>* target_info);
Response ActivateTarget(const std::string& target_id);
+ Response CloseTarget(const std::string& target_id, bool* out_success);
+ Response CreateBrowserContext(std::string* out_context_id);
+ Response DisposeBrowserContext(const std::string& context_id,
+ bool* out_success);
+ Response CreateTarget(const std::string& url,
+ const int* width,
+ const int* height,
+ const std::string* context_id,
+ std::string* out_target_id);
+ Response GetTargets(std::vector<scoped_refptr<TargetInfo>>* target_infos);
private:
using HostsMap = std::map<std::string, scoped_refptr<DevToolsAgentHost>>;
« no previous file with comments | « content/browser/devtools/protocol/schema_handler.cc ('k') | content/browser/devtools/protocol/target_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698