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

Unified Diff: content/public/browser/devtools_target.h

Issue 305903004: DevTools: Add parent id to target descriptor in remote debugging. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed WebView compile Created 6 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: content/public/browser/devtools_target.h
diff --git a/content/public/browser/devtools_target.h b/content/public/browser/devtools_target.h
index ae4ab8b97e7101f6a6d14a19c9314f31ef5af208..80085350ae1ecebd6e109d269850de57256e9c36 100644
--- a/content/public/browser/devtools_target.h
+++ b/content/public/browser/devtools_target.h
@@ -28,6 +28,9 @@ class DevToolsTarget {
// Returns the unique target id.
virtual std::string GetId() const = 0;
+ // Returns the id of the parent target, or empty string if no parent.
+ virtual std::string GetParentId() const = 0;
+
// Returns the target type.
virtual std::string GetType() const = 0;
« no previous file with comments | « content/browser/devtools/devtools_http_handler_impl.cc ('k') | content/shell/browser/shell_devtools_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698