summaryrefslogtreecommitdiffstats
path: root/chrome/browser/dom_ui/history_ui.h
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-21 00:47:20 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-21 00:47:20 +0000
commit59316ec0027a6e6eec0f71405edc8d2a53039db0 (patch)
treed63d252793ec2d32568c248babda8fc07cfd2080 /chrome/browser/dom_ui/history_ui.h
parent628be586f84f4b85d51463c03224bf642ade0f28 (diff)
downloadchromium_src-59316ec0027a6e6eec0f71405edc8d2a53039db0.zip
chromium_src-59316ec0027a6e6eec0f71405edc8d2a53039db0.tar.gz
chromium_src-59316ec0027a6e6eec0f71405edc8d2a53039db0.tar.bz2
Use a NotificationRegistrar to handle notification observing.
BUG=2381 Review URL: http://codereview.chromium.org/115607 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16560 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/dom_ui/history_ui.h')
-rw-r--r--chrome/browser/dom_ui/history_ui.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/dom_ui/history_ui.h b/chrome/browser/dom_ui/history_ui.h
index a4f201c..f44e033 100644
--- a/chrome/browser/dom_ui/history_ui.h
+++ b/chrome/browser/dom_ui/history_ui.h
@@ -11,6 +11,7 @@
#include "chrome/browser/dom_ui/dom_ui.h"
#include "chrome/browser/cancelable_request.h"
#include "chrome/browser/history/history.h"
+#include "chrome/common/notification_registrar.h"
class GURL;
@@ -67,6 +68,8 @@ class BrowsingHistoryHandler : public DOMMessageHandler,
// Figure out the query options for a month-wide query.
history::QueryOptions CreateMonthQueryOptions(int month);
+ NotificationRegistrar registrar_;
+
// Current search text.
std::wstring search_text_;