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

Unified Diff: chrome/browser/ui/startup/autolaunch_prompt_win.cc

Issue 190063006: Infobar Componentization Proof of Concept (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: minor fixes Created 6 years, 9 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/ui/startup/autolaunch_prompt_win.cc
diff --git a/chrome/browser/ui/startup/autolaunch_prompt_win.cc b/chrome/browser/ui/startup/autolaunch_prompt_win.cc
index 2062c788e5c3da2ca25c25050b97aa9f5003d0d3..8569ff4b3b773978fa04f1174692b39bdf945cc3 100644
--- a/chrome/browser/ui/startup/autolaunch_prompt_win.cc
+++ b/chrome/browser/ui/startup/autolaunch_prompt_win.cc
@@ -53,8 +53,8 @@ class AutolaunchInfoBarDelegate : public ConfirmInfoBarDelegate {
virtual base::string16 GetButtonLabel(InfoBarButton button) const OVERRIDE;
virtual bool Accept() OVERRIDE;
virtual bool Cancel() OVERRIDE;
- virtual bool ShouldExpireInternal(
- const content::LoadCommittedDetails& details) const OVERRIDE;
+ virtual bool ShouldExpireInternal(const NavigationDetails& details) const
+ OVERRIDE;
// Weak pointer to the profile, not owned by us.
Profile* profile_;
@@ -125,7 +125,7 @@ bool AutolaunchInfoBarDelegate::Cancel() {
}
bool AutolaunchInfoBarDelegate::ShouldExpireInternal(
- const content::LoadCommittedDetails& details) const {
+ const NavigationDetails& details) const {
return should_expire_;
}

Powered by Google App Engine
This is Rietveld 408576698