summaryrefslogtreecommitdiffstats
path: root/chrome/browser/google/google_url_tracker.h
diff options
context:
space:
mode:
authorananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-10 15:52:27 +0000
committerananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-10 15:52:27 +0000
commit43211582b1fa8c69136385250e7b0446cf364b5c (patch)
tree655ab01543012b6fd5699dee8fab92876959b7d9 /chrome/browser/google/google_url_tracker.h
parentd43970a7ceee5fc5433787b0f28b64234a4039f2 (diff)
downloadchromium_src-43211582b1fa8c69136385250e7b0446cf364b5c.zip
chromium_src-43211582b1fa8c69136385250e7b0446cf364b5c.tar.gz
chromium_src-43211582b1fa8c69136385250e7b0446cf364b5c.tar.bz2
Moving notification types which are chrome specific to a new header file chrome_notification_types.h.
This file lives in chrome\common. The chrome specific notifications start from NOTIFICATION_CONTENT_END which defines the end of the enum used by content to define notification types. The notificaton_type.h file in content\common has been renamed to content_notification_types.h BUG=76698 Review URL: http://codereview.chromium.org/7327007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91972 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/google/google_url_tracker.h')
-rw-r--r--chrome/browser/google/google_url_tracker.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/google/google_url_tracker.h b/chrome/browser/google/google_url_tracker.h
index c95a229..96ba592 100644
--- a/chrome/browser/google/google_url_tracker.h
+++ b/chrome/browser/google/google_url_tracker.h
@@ -89,7 +89,7 @@ class GoogleURLTracker : public URLFetcher::Delegate,
const GURL&);
// Registers consumer interest in getting an updated URL from the server.
- // It will be notified as NotificationType::GOOGLE_URL_UPDATED, so the
+ // It will be notified as chrome::GOOGLE_URL_UPDATED, so the
// consumer should observe this notification before calling this.
void SetNeedToFetch();
@@ -114,7 +114,7 @@ class GoogleURLTracker : public URLFetcher::Delegate,
const std::string& data);
// NotificationObserver
- virtual void Observe(NotificationType type,
+ virtual void Observe(int type,
const NotificationSource& source,
const NotificationDetails& details);
@@ -125,7 +125,7 @@ class GoogleURLTracker : public URLFetcher::Delegate,
void OnNavigationPending(const NotificationSource& source,
const GURL& pending_url);
void OnNavigationCommittedOrTabClosed(TabContents* tab_contents,
- NotificationType::Type type);
+ int type);
void ShowGoogleURLInfoBarIfNecessary(TabContents* tab_contents);
NotificationRegistrar registrar_;
@@ -147,7 +147,7 @@ class GoogleURLTracker : public URLFetcher::Delegate,
// updated URL. If this is never set, we won't
// bother to fetch anything.
// Consumers should observe
- // NotificationType::GOOGLE_URL_UPDATED.
+ // chrome::GOOGLE_URL_UPDATED.
bool need_to_prompt_; // True if the last fetched Google URL is not
// matched with current user's default Google URL
// nor the last prompted Google URL.