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

Unified Diff: chrome/browser/infobars/infobar_service.h

Issue 2846333004: Switch SupportsUserData uses to use unique_ptr. (Closed)
Patch Set: Created 3 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
Index: chrome/browser/infobars/infobar_service.h
diff --git a/chrome/browser/infobars/infobar_service.h b/chrome/browser/infobars/infobar_service.h
index e5dec851586260ae3e22603290ae108d696eac62..d04bdc42f76353222cc0b77e0a4c5cacb2847402 100644
--- a/chrome/browser/infobars/infobar_service.h
+++ b/chrome/browser/infobars/infobar_service.h
@@ -30,6 +30,8 @@ class InfoBarService : public infobars::InfoBarManager,
public content::WebContentsObserver,
public content::WebContentsUserData<InfoBarService> {
public:
+ ~InfoBarService() override;
+
static infobars::InfoBarDelegate::NavigationDetails
NavigationDetailsFromLoadCommittedDetails(
const content::LoadCommittedDetails& details);
@@ -59,7 +61,6 @@ class InfoBarService : public infobars::InfoBarManager,
friend class content::WebContentsUserData<InfoBarService>;
explicit InfoBarService(content::WebContents* web_contents);
- ~InfoBarService() override;
// InfoBarManager:
int GetActiveEntryID() override;

Powered by Google App Engine
This is Rietveld 408576698