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

Unified Diff: content/browser/frame_host/navigation_before_commit_info.cc

Issue 475783002: PlzNavigate: add cancel navigation logic for uncommitted requests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed CR comments and removed the weird Observer. Trying to get this CL through and have the mo… Created 6 years, 4 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/frame_host/navigation_before_commit_info.cc
diff --git a/content/child/sync_load_response.cc b/content/browser/frame_host/navigation_before_commit_info.cc
similarity index 56%
copy from content/child/sync_load_response.cc
copy to content/browser/frame_host/navigation_before_commit_info.cc
index 163153aa23766cc3a0b71a8fa8e1730efdb7a464..f7ebb3c013e6831eea34af219d61c575de3f20c0 100644
--- a/content/child/sync_load_response.cc
+++ b/content/browser/frame_host/navigation_before_commit_info.cc
@@ -2,12 +2,11 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "content/child/sync_load_response.h"
+#include "content/browser/frame_host/navigation_before_commit_info.h"
namespace content {
-SyncLoadResponse::SyncLoadResponse() {}
-
-SyncLoadResponse::~SyncLoadResponse() {}
+NavigationBeforeCommitInfo::NavigationBeforeCommitInfo()
+ : navigation_request_id(0) {}
nasko 2014/09/02 14:10:57 nit: Why not initialize this to -1 or some other i
carlosk 2014/09/02 15:30:09 Done.
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698