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

Unified Diff: content/browser/devtools/render_frame_devtools_agent_host.h

Issue 2132673002: Adding Navigation Throttles to DevTools (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove print Created 4 years, 5 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/render_frame_devtools_agent_host.h
diff --git a/content/browser/devtools/render_frame_devtools_agent_host.h b/content/browser/devtools/render_frame_devtools_agent_host.h
index e9ae1483b9e4ec57effb54dfdfb745f91a2470c9..a3c3158e3e938c684b822d7237592aec09c03bcc 100644
--- a/content/browser/devtools/render_frame_devtools_agent_host.h
+++ b/content/browser/devtools/render_frame_devtools_agent_host.h
@@ -36,6 +36,7 @@ class DevToolsFrameTraceRecorder;
class DevToolsProtocolHandler;
class FrameTreeNode;
class NavigationHandle;
+class NavigationThrottle;
class RenderFrameHostImpl;
namespace devtools {
@@ -64,6 +65,8 @@ class CONTENT_EXPORT RenderFrameDevToolsAgentHost
static void OnBeforeNavigation(RenderFrameHost* current,
RenderFrameHost* pending);
static void OnBeforeNavigation(NavigationHandle* navigation_handle);
+ static std::unique_ptr<NavigationThrottle> CreateThrottleForNavigation(
+ NavigationHandle* navigation_handle);
void SynchronousSwapCompositorFrame(
cc::CompositorFrameMetadata frame_metadata);
« no previous file with comments | « content/browser/devtools/protocol/page_handler.cc ('k') | content/browser/devtools/render_frame_devtools_agent_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698