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

Unified Diff: content/common/navigation_params.cc

Issue 483773002: PlzNavigate: implement CommitNavigation on the browser side (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Split the class into structs used by IPCs Created 6 years, 3 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/common/navigation_params.cc
diff --git a/content/common/navigation_params.cc b/content/common/navigation_params.cc
new file mode 100644
index 0000000000000000000000000000000000000000..a1936fd5594ad5ab140bbe02d1e565894ac155d7
--- /dev/null
+++ b/content/common/navigation_params.cc
@@ -0,0 +1,36 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "content/common/navigation_params.h"
+
+namespace content {
+CoreNavigationParams::CoreNavigationParams()
+ : transition(PAGE_TRANSITION_LINK) {
+}
+
+CoreNavigationParams::~CoreNavigationParams() {}
+
+NavigationParamsWithCommitInfo::NavigationParamsWithCommitInfo()
+ : page_id(-1),
+ should_clear_history_list(false),
+ pending_history_list_offset(-1),
+ current_history_list_offset(-1),
+ current_history_list_length(-1),
+ navigation_type(FrameMsg_Navigate_Type::NORMAL),
+ is_overriding_user_agent(false) {
+}
+
+NavigationParamsWithCommitInfo::~NavigationParamsWithCommitInfo() {}
+
+NavigationParamsWithRequestAndCommitInfo::
+NavigationParamsWithRequestAndCommitInfo()
+ : is_post(false),
+ allow_download(true) {
+}
+
+NavigationParamsWithRequestAndCommitInfo::
+~NavigationParamsWithRequestAndCommitInfo() {
+}
+
+} // namespace content

Powered by Google App Engine
This is Rietveld 408576698