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

Side by Side Diff: content/common/navigation_params.cc

Issue 1002803002: Classify navigations without page id in parallel to the existing classifier. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: better crash url Created 5 years, 9 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/common/navigation_params.h" 5 #include "content/common/navigation_params.h"
6 6
7 #include "base/memory/ref_counted_memory.h" 7 #include "base/memory/ref_counted_memory.h"
8 8
9 namespace content { 9 namespace content {
10 10
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 redirects(redirects), 73 redirects(redirects),
74 can_load_local_resources(can_load_local_resources), 74 can_load_local_resources(can_load_local_resources),
75 frame_to_navigate(frame_to_navigate), 75 frame_to_navigate(frame_to_navigate),
76 request_time(request_time) { 76 request_time(request_time) {
77 } 77 }
78 78
79 CommitNavigationParams::~CommitNavigationParams() {} 79 CommitNavigationParams::~CommitNavigationParams() {}
80 80
81 HistoryNavigationParams::HistoryNavigationParams() 81 HistoryNavigationParams::HistoryNavigationParams()
82 : page_id(-1), 82 : page_id(-1),
83 nav_entry_id(0),
83 pending_history_list_offset(-1), 84 pending_history_list_offset(-1),
84 current_history_list_offset(-1), 85 current_history_list_offset(-1),
85 current_history_list_length(0), 86 current_history_list_length(0),
86 should_clear_history_list(false) { 87 should_clear_history_list(false) {
87 } 88 }
88 89
89 HistoryNavigationParams::HistoryNavigationParams( 90 HistoryNavigationParams::HistoryNavigationParams(
90 const PageState& page_state, 91 const PageState& page_state,
91 int32 page_id, 92 int32 page_id,
93 int nav_entry_id,
92 int pending_history_list_offset, 94 int pending_history_list_offset,
93 int current_history_list_offset, 95 int current_history_list_offset,
94 int current_history_list_length, 96 int current_history_list_length,
95 bool should_clear_history_list) 97 bool should_clear_history_list)
96 : page_state(page_state), 98 : page_state(page_state),
97 page_id(page_id), 99 page_id(page_id),
100 nav_entry_id(nav_entry_id),
98 pending_history_list_offset(pending_history_list_offset), 101 pending_history_list_offset(pending_history_list_offset),
99 current_history_list_offset(current_history_list_offset), 102 current_history_list_offset(current_history_list_offset),
100 current_history_list_length(current_history_list_length), 103 current_history_list_length(current_history_list_length),
101 should_clear_history_list(should_clear_history_list) { 104 should_clear_history_list(should_clear_history_list) {
102 } 105 }
103 106
104 HistoryNavigationParams::~HistoryNavigationParams() { 107 HistoryNavigationParams::~HistoryNavigationParams() {
105 } 108 }
106 109
107 StartNavigationParams::StartNavigationParams() 110 StartNavigationParams::StartNavigationParams()
(...skipping 29 matching lines...) Expand all
137 : common_params(common_params), 140 : common_params(common_params),
138 start_params(start_params), 141 start_params(start_params),
139 commit_params(commit_params), 142 commit_params(commit_params),
140 history_params(history_params) { 143 history_params(history_params) {
141 } 144 }
142 145
143 NavigationParams::~NavigationParams() { 146 NavigationParams::~NavigationParams() {
144 } 147 }
145 148
146 } // namespace content 149 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698