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

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

Issue 2484793002: Remove access to WebContents in RWHVA::SynchronousFrameMetadata() (Closed)
Patch Set: case-by-case Created 4 years, 1 month 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_agent_host.h
diff --git a/content/public/browser/devtools_agent_host.h b/content/public/browser/devtools_agent_host.h
index 7c1cc83588ce033cfc108b1d666581f1fb75e34d..145ae837fba2c8cfb9bc4d7295650db912944660 100644
--- a/content/public/browser/devtools_agent_host.h
+++ b/content/public/browser/devtools_agent_host.h
@@ -72,6 +72,7 @@ class CONTENT_EXPORT DevToolsAgentHost
// Returns true iff an instance of DevToolsAgentHost for the |web_contents|
// does exist.
static bool HasFor(WebContents* web_contents);
+ static bool HasFor(RenderFrameHost* frame_host);
boliu 2016/11/08 00:13:55 parameter overloading is not allowed by style guid
Jinsuk Kim 2016/11/08 17:58:19 Moved to RenderFrameDevToolsAgentHost.
// Returns DevToolsAgentHost that can be used for inspecting shared worker
// with given worker process host id and routing id.

Powered by Google App Engine
This is Rietveld 408576698