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

Unified Diff: chrome/browser/instant/instant_loader.h

Issue 11785025: Do not commit InstantLoader server redirects till the page supports instant. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 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: chrome/browser/instant/instant_loader.h
diff --git a/chrome/browser/instant/instant_loader.h b/chrome/browser/instant/instant_loader.h
index 185d2ff53e9317c3b7838c66ac3adf826f2e5c61..9e1f2c76ab89d529c565f66fa3cd80015edcf3cf 100644
--- a/chrome/browser/instant/instant_loader.h
+++ b/chrome/browser/instant/instant_loader.h
@@ -151,6 +151,11 @@ class InstantLoader : public InstantClient::Delegate,
// Used to get notifications about renderers coming and going.
content::NotificationRegistrar registrar_;
+ // An expected redirect, needs to be stored since
+ // DidCommitProvisionalLoadForFrame does not contain information if the load
+ // is the result of a redirect.
+ GURL expected_redirect_;
+
DISALLOW_COPY_AND_ASSIGN(InstantLoader);
};

Powered by Google App Engine
This is Rietveld 408576698