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

Unified Diff: chrome/browser/ui/prefs/prefs_tab_helper.h

Issue 1865213004: Convert //chrome/browser/ui from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 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 | « chrome/browser/ui/pdf/pdf_unsupported_feature.cc ('k') | chrome/browser/ui/sad_tab_helper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/prefs/prefs_tab_helper.h
diff --git a/chrome/browser/ui/prefs/prefs_tab_helper.h b/chrome/browser/ui/prefs/prefs_tab_helper.h
index f814ce12790a9ad5c7dce285d76be7de0e97698a..16a296e52ecd78d49c2d530982977897800230b2 100644
--- a/chrome/browser/ui/prefs/prefs_tab_helper.h
+++ b/chrome/browser/ui/prefs/prefs_tab_helper.h
@@ -58,9 +58,9 @@ class PrefsTabHelper : public content::NotificationObserver,
content::WebContents* web_contents_;
Profile* profile_;
content::NotificationRegistrar registrar_;
- scoped_ptr<base::CallbackList<void(void)>::Subscription>
+ std::unique_ptr<base::CallbackList<void(void)>::Subscription>
style_sheet_subscription_;
- scoped_ptr<ChromeZoomLevelPrefs::DefaultZoomLevelSubscription>
+ std::unique_ptr<ChromeZoomLevelPrefs::DefaultZoomLevelSubscription>
default_zoom_level_subscription_;
base::WeakPtrFactory<PrefsTabHelper> weak_ptr_factory_;
« no previous file with comments | « chrome/browser/ui/pdf/pdf_unsupported_feature.cc ('k') | chrome/browser/ui/sad_tab_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698