summaryrefslogtreecommitdiffstats
path: root/chrome/browser/dom_ui/tips_handler.h
diff options
context:
space:
mode:
authortim@chromium.org <tim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-26 15:52:29 +0000
committertim@chromium.org <tim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-26 15:52:29 +0000
commit8537054e6da7e12a50ab27786dd01b253b8a0d12 (patch)
treeec43ed5313377170b8446c71e1c0a5727953af3f /chrome/browser/dom_ui/tips_handler.h
parent0fda727e08d2f785ce127fba39c4ce69955fa934 (diff)
downloadchromium_src-8537054e6da7e12a50ab27786dd01b253b8a0d12.zip
chromium_src-8537054e6da7e12a50ab27786dd01b253b8a0d12.tar.gz
chromium_src-8537054e6da7e12a50ab27786dd01b253b8a0d12.tar.bz2
Revert cl 19359 due to browser_tests timeout.
TBR=nsylvain Review URL: http://codereview.chromium.org/147206 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19363 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/dom_ui/tips_handler.h')
-rw-r--r--chrome/browser/dom_ui/tips_handler.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/chrome/browser/dom_ui/tips_handler.h b/chrome/browser/dom_ui/tips_handler.h
index a65ebfe..a218e09 100644
--- a/chrome/browser/dom_ui/tips_handler.h
+++ b/chrome/browser/dom_ui/tips_handler.h
@@ -32,12 +32,9 @@ class Value;
class TipsHandler : public DOMMessageHandler {
public:
- TipsHandler() : tips_cache_(NULL) { }
- virtual ~TipsHandler() { }
+ explicit TipsHandler(DOMUI* dom_ui);
- // DOMMessageHandler implementation and overrides.
- virtual DOMMessageHandler* Attach(DOMUI* dom_ui);
- virtual void RegisterMessages();
+ TipsHandler();
// Callback which pulls tips data from the preferences.
void HandleGetTips(const Value* content);
@@ -46,6 +43,9 @@ class TipsHandler : public DOMMessageHandler {
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_;