commit | b1df7b96528838e2f6a317503648ff9600a40dac | [log] [tgz] |
---|---|---|
author | clamy <[email protected]> | Thu Feb 01 17:38:17 2018 |
committer | Commit Bot <[email protected]> | Thu Feb 01 17:38:17 2018 |
tree | f29f1585221f1af55d45caac1c8cb384225fb584 | |
parent | 4cd4e305eccb7bd08615664a3629cc3fc16c7deb [diff] [blame] |
Introduce a mojo method to send renderer debug URLS to the renderer This CL introduces a mojo method to send renderer debug URLS to the renderer for handling, instead of using CommitNavigation. This allows not to create a NavigationRequest nor a NavigationHandle for these URLs, which do not represent actual navigations. Bug: 784904,803859 Change-Id: Ica9b17a071d2f9faa7f43eb428b0d73424a180e9 Reviewed-on: https://chromium-review.googlesource.com/817560 Reviewed-by: Charlie Reis <[email protected]> Reviewed-by: Daniel Cheng <[email protected]> Reviewed-by: Ned Nguyen <[email protected]> Commit-Queue: Camille Lamy <[email protected]> Cr-Commit-Position: refs/heads/master@{#533719}
diff --git a/content/renderer/render_frame_impl.h b/content/renderer/render_frame_impl.h index 3643835..737684f 100644 --- a/content/renderer/render_frame_impl.h +++ b/content/renderer/render_frame_impl.h
@@ -535,6 +535,7 @@ int error_code, const base::Optional<std::string>& error_page_content, std::unique_ptr<URLLoaderFactoryBundleInfo> subresource_loaders) override; + void HandleRendererDebugURL(const GURL& url) override; void UpdateSubresourceLoaderFactories( std::unique_ptr<URLLoaderFactoryBundleInfo> subresource_loaders) override;