Index: chrome/browser/rlz/rlz.cc |
diff --git a/chrome/browser/rlz/rlz.cc b/chrome/browser/rlz/rlz.cc |
index de2f78f29a9b9c8d1229d566eefc3721f44c13a5..701546e54aea3059826a04653ee0ea19549fe404 100644 |
--- a/chrome/browser/rlz/rlz.cc |
+++ b/chrome/browser/rlz/rlz.cc |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
+// Copyright 2012 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
// |
@@ -274,9 +274,9 @@ bool RLZTracker::Init(bool first_run, |
// the user performs a first search. |
registrar_.Add(this, chrome::NOTIFICATION_OMNIBOX_OPENED_URL, |
content::NotificationService::AllSources()); |
- // If instant is enabled we'll start searching as soon as the user starts |
- // typing in the omnibox (which triggers INSTANT_CONTROLLER_UPDATED). |
- registrar_.Add(this, chrome::NOTIFICATION_INSTANT_CONTROLLER_UPDATED, |
+ // If Instant is enabled we'll start searching as soon as the user starts |
+ // typing in the omnibox (which triggers INSTANT_UPDATED). |
+ registrar_.Add(this, chrome::NOTIFICATION_INSTANT_UPDATED, |
content::NotificationService::AllSources()); |
// Register for notifications from navigations, to see if the user has used |
@@ -376,11 +376,11 @@ void RLZTracker::Observe(int type, |
const content::NotificationDetails& details) { |
switch (type) { |
case chrome::NOTIFICATION_OMNIBOX_OPENED_URL: |
- case chrome::NOTIFICATION_INSTANT_CONTROLLER_UPDATED: |
+ case chrome::NOTIFICATION_INSTANT_UPDATED: |
RecordFirstSearch(CHROME_OMNIBOX); |
registrar_.Remove(this, chrome::NOTIFICATION_OMNIBOX_OPENED_URL, |
content::NotificationService::AllSources()); |
- registrar_.Remove(this, chrome::NOTIFICATION_INSTANT_CONTROLLER_UPDATED, |
+ registrar_.Remove(this, chrome::NOTIFICATION_INSTANT_UPDATED, |
content::NotificationService::AllSources()); |
break; |
case content::NOTIFICATION_NAV_ENTRY_PENDING: { |