Remove NOTIFICATION_USER_STYLE_SHEET_UPDATED
Replace with a callback.
BUG=268984
TEST= no change.
Review URL: https://chromiumcodereview.appspot.com/22964005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@218401 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/browser/ui/prefs/prefs_tab_helper.h b/chrome/browser/ui/prefs/prefs_tab_helper.h
index 09086b5c..6d613d4 100644
--- a/chrome/browser/ui/prefs/prefs_tab_helper.h
+++ b/chrome/browser/ui/prefs/prefs_tab_helper.h
@@ -6,6 +6,7 @@
#define CHROME_BROWSER_UI_PREFS_PREFS_TAB_HELPER_H_
#include "base/compiler_specific.h"
+#include "base/memory/weak_ptr.h"
#include "base/prefs/pref_change_registrar.h"
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.h"
@@ -55,6 +56,7 @@
content::WebContents* web_contents_;
content::NotificationRegistrar registrar_;
PrefChangeRegistrar pref_change_registrar_;
+ base::WeakPtrFactory<PrefsTabHelper> weak_ptr_factory_;
DISALLOW_COPY_AND_ASSIGN(PrefsTabHelper);
};