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

Unified Diff: content/browser/devtools/protocol/network_handler.h

Issue 2720543002: Fix headless_browsertests failures with PlzNavigate. (Closed)
Patch Set: review comments Created 3 years, 10 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
« no previous file with comments | « no previous file | content/browser/devtools/protocol/network_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/devtools/protocol/network_handler.h
diff --git a/content/browser/devtools/protocol/network_handler.h b/content/browser/devtools/protocol/network_handler.h
index 2ce9dcb1c3d698b12acc21478b1969e0429c26bf..32409ffc906d2d49e92e0505468a64c8bd800d6d 100644
--- a/content/browser/devtools/protocol/network_handler.h
+++ b/content/browser/devtools/protocol/network_handler.h
@@ -10,12 +10,15 @@
#include "base/macros.h"
#include "content/browser/devtools/protocol/devtools_domain_handler.h"
#include "content/browser/devtools/protocol/network.h"
+#include "net/base/net_errors.h"
#include "net/cookies/canonical_cookie.h"
namespace content {
class DevToolsSession;
class RenderFrameHostImpl;
+struct BeginNavigationParams;
+struct CommonNavigationParams;
struct ResourceRequest;
struct ResourceRequestCompletionStatus;
struct ResourceResponseHead;
@@ -71,6 +74,9 @@ class NetworkHandler : public DevToolsDomainHandler,
void NavigationPreloadCompleted(
const std::string& request_id,
const ResourceRequestCompletionStatus& completion_status);
+ void NavigationFailed(const CommonNavigationParams& common_params,
+ const BeginNavigationParams& begin_params,
+ net::Error error_code);
bool enabled() const { return enabled_; }
std::string UserAgentOverride() const;
« no previous file with comments | « no previous file | content/browser/devtools/protocol/network_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698