| Index: chrome/browser/google/google_url_tracker.cc
|
| ===================================================================
|
| --- chrome/browser/google/google_url_tracker.cc (revision 91771)
|
| +++ chrome/browser/google/google_url_tracker.cc (working copy)
|
| @@ -14,6 +14,7 @@
|
| #include "chrome/browser/prefs/pref_service.h"
|
| #include "chrome/browser/search_engines/template_url.h"
|
| #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
|
| +#include "chrome/common/chrome_notification_types.h"
|
| #include "chrome/common/chrome_switches.h"
|
| #include "chrome/common/pref_names.h"
|
| #include "content/browser/tab_contents/navigation_controller.h"
|
| @@ -257,7 +258,7 @@
|
| google_url_.spec());
|
| g_browser_process->local_state()->SetString(prefs::kLastPromptedGoogleURL,
|
| google_url_.spec());
|
| - NotificationService::current()->Notify(NotificationType::GOOGLE_URL_UPDATED,
|
| + NotificationService::current()->Notify(chrome::GOOGLE_URL_UPDATED,
|
| NotificationService::AllSources(),
|
| NotificationService::NoDetails());
|
| need_to_prompt_ = false;
|
| @@ -341,7 +342,7 @@
|
|
|
| void GoogleURLTracker::OnNavigationCommittedOrTabClosed(
|
| TabContents* tab_contents,
|
| - NotificationType::Type type) {
|
| + int type) {
|
| registrar_.RemoveAll();
|
|
|
| if (type == NotificationType::NAV_ENTRY_COMMITTED) {
|
|
|