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

Unified Diff: components/history/ios/browser/web_state_top_sites_observer.h

Issue 2847013003: Switch SupportsUserData uses to use unique_ptr. (Closed)
Patch Set: rev 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: components/history/ios/browser/web_state_top_sites_observer.h
diff --git a/components/history/ios/browser/web_state_top_sites_observer.h b/components/history/ios/browser/web_state_top_sites_observer.h
index 1081fd221a878678bc289ea1f9b7324d9201d461..367fe1fcd2fca8ad68cd87d5af1ae313432a8047 100644
--- a/components/history/ios/browser/web_state_top_sites_observer.h
+++ b/components/history/ios/browser/web_state_top_sites_observer.h
@@ -19,13 +19,14 @@ class WebStateTopSitesObserver
: public web::WebStateObserver,
public web::WebStateUserData<WebStateTopSitesObserver> {
public:
+ ~WebStateTopSitesObserver() override;
+
static void CreateForWebState(web::WebState* web_state, TopSites* top_sites);
private:
friend class web::WebStateUserData<WebStateTopSitesObserver>;
WebStateTopSitesObserver(web::WebState* web_state, TopSites* top_sites);
- ~WebStateTopSitesObserver() override;
// web::WebStateObserver implementation.
void NavigationItemCommitted(
« no previous file with comments | « components/history/core/browser/history_backend.cc ('k') | components/history/ios/browser/web_state_top_sites_observer.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698