| Index: chrome/browser/dom_ui/tips_handler.h
|
| ===================================================================
|
| --- chrome/browser/dom_ui/tips_handler.h (revision 19317)
|
| +++ chrome/browser/dom_ui/tips_handler.h (working copy)
|
| @@ -32,9 +32,12 @@
|
|
|
| class TipsHandler : public DOMMessageHandler {
|
| public:
|
| - explicit TipsHandler(DOMUI* dom_ui);
|
| + TipsHandler() : tips_cache_(NULL) { }
|
| + virtual ~TipsHandler() { }
|
|
|
| - TipsHandler();
|
| + // DOMMessageHandler implementation and overrides.
|
| + virtual DOMMessageHandler* Attach(DOMUI* dom_ui);
|
| + virtual void RegisterMessages();
|
|
|
| // Callback which pulls tips data from the preferences.
|
| void HandleGetTips(const Value* content);
|
| @@ -43,9 +46,6 @@
|
| static void RegisterUserPrefs(PrefService* prefs);
|
|
|
| private:
|
| - // So we can push data out to the page that has called this handler.
|
| - DOMUI* dom_ui_;
|
| -
|
| // Filled with data from cache in preferences.
|
| const DictionaryValue* tips_cache_;
|
|
|
|
|