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

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

Issue 378743002: Navigation transitions: Place transition page in same process as destination page. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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 <string> 8 #include <string>
9 9
10 #include "base/memory/ref_counted_memory.h" 10 #include "base/memory/ref_counted_memory.h"
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 virtual void SetHttpStatusCode(int http_status_code) = 0; 210 virtual void SetHttpStatusCode(int http_status_code) = 0;
211 virtual int GetHttpStatusCode() const = 0; 211 virtual int GetHttpStatusCode() const = 0;
212 212
213 // The redirect chain traversed during this navigation, from the initial 213 // The redirect chain traversed during this navigation, from the initial
214 // redirecting URL to the final non-redirecting current URL. 214 // redirecting URL to the final non-redirecting current URL.
215 virtual void SetRedirectChain(const std::vector<GURL>& redirects) = 0; 215 virtual void SetRedirectChain(const std::vector<GURL>& redirects) = 0;
216 virtual const std::vector<GURL>& GetRedirectChain() const = 0; 216 virtual const std::vector<GURL>& GetRedirectChain() const = 0;
217 217
218 // True if this entry is restored and hasn't been loaded. 218 // True if this entry is restored and hasn't been loaded.
219 virtual bool IsRestored() const = 0; 219 virtual bool IsRestored() const = 0;
220
221 // The virtual URL, when nonempty, will override the actual URL of the page
222 // when we determine the site instance to use. This allows us to redirect
223 // a url to a particular process if need be.
224 virtual void SetVirtualURLForTransition(const GURL& url) = 0;
jam 2014/07/14 23:14:21 these aren't used in chrome, so can you just put t
shatch 2014/07/21 17:47:11 Done. Also did some renaming.
225 virtual const GURL& GetVirtualURLForTransition() const = 0;
220 }; 226 };
221 227
222 } // namespace content 228 } // namespace content
223 229
224 #endif // CONTENT_PUBLIC_BROWSER_NAVIGATION_ENTRY_H_ 230 #endif // CONTENT_PUBLIC_BROWSER_NAVIGATION_ENTRY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698