summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorcpu@google.com <cpu@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-01 18:39:37 +0000
committercpu@google.com <cpu@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-01 18:39:37 +0000
commita675e5364c7f5fea5d8b186d5f763e9132bd69ae (patch)
treee7bd9c83f432c5491e8d6880729cb55be7117cdb /chrome
parent29ae3c92e12ea56b043c56b132cb0bd82f839cc7 (diff)
downloadchromium_src-a675e5364c7f5fea5d8b186d5f763e9132bd69ae.zip
chromium_src-a675e5364c7f5fea5d8b186d5f763e9132bd69ae.tar.gz
chromium_src-a675e5364c7f5fea5d8b186d5f763e9132bd69ae.tar.bz2
Changed the notification for the rlz
- this one is back mergeable, I hope. Review URL: http://codereview.chromium.org/9000 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4373 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/rlz/rlz.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/rlz/rlz.cc b/chrome/browser/rlz/rlz.cc
index e6579dd..b13af4f 100644
--- a/chrome/browser/rlz/rlz.cc
+++ b/chrome/browser/rlz/rlz.cc
@@ -118,13 +118,13 @@ bool SendFinancialPing(const wchar_t* brand, const wchar_t* lang,
exclude_id, NULL);
}
-// This class leverages the AutocompleteController notification to know when
+// This class leverages the AutocompleteEditModel notification to know when
// the user first interacted with the omnibox and set a global accordingly.
class OmniBoxUsageObserver : public NotificationObserver {
public:
OmniBoxUsageObserver() {
NotificationService::current()->AddObserver(this,
- NOTIFY_AUTOCOMPLETE_CONTROLLER_RESULT_UPDATED,
+ NOTIFY_OMNIBOX_OPENED_URL,
NotificationService::AllSources());
omnibox_used_ = false;
}
@@ -149,7 +149,7 @@ class OmniBoxUsageObserver : public NotificationObserver {
// Dtor is private so the object cannot be created on the stack.
~OmniBoxUsageObserver() {
NotificationService::current()->RemoveObserver(this,
- NOTIFY_AUTOCOMPLETE_CONTROLLER_RESULT_UPDATED,
+ NOTIFY_OMNIBOX_OPENED_URL,
NotificationService::AllSources());
}