| Index: chrome/browser/google/google_url_tracker.h
|
| diff --git a/chrome/browser/google/google_url_tracker.h b/chrome/browser/google/google_url_tracker.h
|
| index 620f12dfb3c3329b5f48ddc6a4982c4b5c5e5ec8..9c4289b36c0ef29eb806ada410abd3ce5836ad3b 100644
|
| --- a/chrome/browser/google/google_url_tracker.h
|
| +++ b/chrome/browser/google/google_url_tracker.h
|
| @@ -41,10 +41,11 @@ class WebContents;
|
| // To protect users' privacy and reduce server load, no updates will be
|
| // performed (ever) unless at least one consumer registers interest by calling
|
| // RequestServerCheck().
|
| -class GoogleURLTracker : public net::URLFetcherDelegate,
|
| - public content::NotificationObserver,
|
| - public net::NetworkChangeNotifier::IPAddressObserver,
|
| - public ProfileKeyedService {
|
| +class GoogleURLTracker
|
| + : public net::URLFetcherDelegate,
|
| + public content::NotificationObserver,
|
| + public net::NetworkChangeNotifier::NetworkChangeObserver,
|
| + public ProfileKeyedService {
|
| public:
|
| // The contents of the Details for a NOTIFICATION_GOOGLE_URL_UPDATED.
|
| typedef std::pair<GURL, GURL> UpdatedDetails;
|
| @@ -111,8 +112,9 @@ class GoogleURLTracker : public net::URLFetcherDelegate,
|
| const content::NotificationSource& source,
|
| const content::NotificationDetails& details) OVERRIDE;
|
|
|
| - // NetworkChangeNotifier::IPAddressObserver:
|
| - virtual void OnIPAddressChanged() OVERRIDE;
|
| + // NetworkChangeNotifier::NetworkChangedObserver:
|
| + virtual void OnNetworkChanged(
|
| + net::NetworkChangeNotifier::ConnectionType type) OVERRIDE;
|
|
|
| // ProfileKeyedService:
|
| virtual void Shutdown() OVERRIDE;
|
|
|