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

Side by Side Diff: content/public/browser/navigation_entry.h

Issue 2368183004: Move redirect_chain from NavigationEntry to FrameNavigationEntry. (Closed)
Patch Set: Created 4 years, 2 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef CONTENT_PUBLIC_BROWSER_NAVIGATION_ENTRY_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_NAVIGATION_ENTRY_H_
6 #define CONTENT_PUBLIC_BROWSER_NAVIGATION_ENTRY_H_ 6 #define CONTENT_PUBLIC_BROWSER_NAVIGATION_ENTRY_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 // 213 //
214 // - this navigation hasn't completed yet; 214 // - this navigation hasn't completed yet;
215 // - a response wasn't received; 215 // - a response wasn't received;
216 // - or this navigation was restored and for some reason the 216 // - or this navigation was restored and for some reason the
217 // status code wasn't available. 217 // status code wasn't available.
218 virtual void SetHttpStatusCode(int http_status_code) = 0; 218 virtual void SetHttpStatusCode(int http_status_code) = 0;
219 virtual int GetHttpStatusCode() const = 0; 219 virtual int GetHttpStatusCode() const = 0;
220 220
221 // The redirect chain traversed during this navigation, from the initial 221 // The redirect chain traversed during this navigation, from the initial
222 // redirecting URL to the final non-redirecting current URL. 222 // redirecting URL to the final non-redirecting current URL.
223 virtual void SetRedirectChain(const std::vector<GURL>& redirects) = 0; 223 virtual void SetMainFrameRedirectChain(
Charlie Reis 2016/09/28 04:13:17 I appreciate getting to easily see all the call si
arthursonzogni 2016/09/28 16:36:14 Yes, that's what I thought. I will make it come ba
224 virtual const std::vector<GURL>& GetRedirectChain() const = 0; 224 const std::vector<GURL>& redirects) = 0;
225 virtual const std::vector<GURL>& GetMainFrameRedirectChain() const = 0;
225 226
226 // True if this entry is restored and hasn't been loaded. 227 // True if this entry is restored and hasn't been loaded.
227 virtual bool IsRestored() const = 0; 228 virtual bool IsRestored() const = 0;
228 }; 229 };
229 230
230 } // namespace content 231 } // namespace content
231 232
232 #endif // CONTENT_PUBLIC_BROWSER_NAVIGATION_ENTRY_H_ 233 #endif // CONTENT_PUBLIC_BROWSER_NAVIGATION_ENTRY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698