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

Unified Diff: chrome/browser/ui/sync/one_click_signin_helper.h

Issue 13896009: Remove landing page from history when redirecting to NTP so that the back-button will work as expec… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: removed test since required modules aren't available on all builds Created 7 years, 8 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
« no previous file with comments | « no previous file | chrome/browser/ui/sync/one_click_signin_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/sync/one_click_signin_helper.h
diff --git a/chrome/browser/ui/sync/one_click_signin_helper.h b/chrome/browser/ui/sync/one_click_signin_helper.h
index e4da000b543d49a1903f5bf8815fc65e36e6fde7..33507c91ed57e793b1e715ddc27189171564c30b 100644
--- a/chrome/browser/ui/sync/one_click_signin_helper.h
+++ b/chrome/browser/ui/sync/one_click_signin_helper.h
@@ -113,6 +113,11 @@ class OneClickSigninHelper
int child_id,
int route_id);
+ // Remove the item currently at the top of the history list. Due to
+ // limitations of the NavigationController, this cannot be done until
+ // a new page becomes "current".
+ static void RemoveCurrentHistoryItem(content::WebContents* web_contents);
+
private:
explicit OneClickSigninHelper(content::WebContents* web_contents);
friend class content::WebContentsUserData<OneClickSigninHelper>;
« no previous file with comments | « no previous file | chrome/browser/ui/sync/one_click_signin_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698