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

Unified Diff: content/browser/tab_contents/navigation_entry_impl.h

Issue 9169065: Reloading page after installing app should bring it into correct process. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 11 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/tab_contents/navigation_entry_impl.h
diff --git a/content/browser/tab_contents/navigation_entry_impl.h b/content/browser/tab_contents/navigation_entry_impl.h
index c1c52e5e32691baacc63a7d1314b5984444714ca..78c84d7d9d6e31f395a299ad6b2eef5a02cd8c59 100644
--- a/content/browser/tab_contents/navigation_entry_impl.h
+++ b/content/browser/tab_contents/navigation_entry_impl.h
@@ -143,6 +143,13 @@ class CONTENT_EXPORT NavigationEntryImpl
return transferred_global_request_id_;
}
+ void set_is_cross_site_reload(bool is_cross_site_reload) {
Charlie Reis 2012/01/26 01:20:23 Let's add a comment here.
nasko 2012/01/26 20:25:57 Done.
+ is_cross_site_reload_ = is_cross_site_reload;
+ }
+ bool is_cross_site_reload() const {
+ return is_cross_site_reload_;
+ }
+
private:
// WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
// Session/Tab restore save portions of this class so that it can be recreated
@@ -191,6 +198,12 @@ class CONTENT_EXPORT NavigationEntryImpl
// continues as normal.
GlobalRequestID transferred_global_request_id_;
+ // This indicates whether this entry is being reloaded, but due to changes in
+ // site instances, it has to be reloaded in a different site instance. In
Charlie Reis 2012/01/26 01:20:23 This sentence is a bit awkward. Maybe the first "
nasko 2012/01/26 20:25:57 Done.
+ // such case, we must treat it as an existing navigation in the new site
+ // instance, instead of a new navigation.
+ bool is_cross_site_reload_;
+
// Copy and assignment is explicitly allowed for this class.
};

Powered by Google App Engine
This is Rietveld 408576698