| Index: chrome/browser/ui/alternate_error_tab_observer.h
|
| ===================================================================
|
| --- chrome/browser/ui/alternate_error_tab_observer.h (revision 131375)
|
| +++ chrome/browser/ui/alternate_error_tab_observer.h (working copy)
|
| @@ -17,15 +17,13 @@
|
| class AlternateErrorPageTabObserver : public content::WebContentsObserver,
|
| public content::NotificationObserver {
|
| public:
|
| - explicit AlternateErrorPageTabObserver(content::WebContents* web_contents);
|
| + AlternateErrorPageTabObserver(content::WebContents* web_contents,
|
| + Profile* profile);
|
| virtual ~AlternateErrorPageTabObserver();
|
|
|
| static void RegisterUserPrefs(PrefService* prefs);
|
|
|
| private:
|
| - // Helper to return the profile for this tab.
|
| - Profile* GetProfile() const;
|
| -
|
| // content::WebContentsObserver overrides:
|
| virtual void RenderViewCreated(
|
| content::RenderViewHost* render_view_host) OVERRIDE;
|
| @@ -44,6 +42,7 @@
|
| // Send the alternate error page URL to the renderer.
|
| void UpdateAlternateErrorPageURL(content::RenderViewHost* rvh);
|
|
|
| + Profile* profile_;
|
| content::NotificationRegistrar registrar_;
|
| PrefChangeRegistrar pref_change_registrar_;
|
|
|
|
|