summaryrefslogtreecommitdiffstats
path: root/chrome/browser/google/chrome_google_url_tracker_client.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/google/chrome_google_url_tracker_client.h')
-rw-r--r--chrome/browser/google/chrome_google_url_tracker_client.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/chrome/browser/google/chrome_google_url_tracker_client.h b/chrome/browser/google/chrome_google_url_tracker_client.h
index 58fdcc9..08a4e2e 100644
--- a/chrome/browser/google/chrome_google_url_tracker_client.h
+++ b/chrome/browser/google/chrome_google_url_tracker_client.h
@@ -9,16 +9,20 @@
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.h"
+class Profile;
+
class ChromeGoogleURLTrackerClient : public GoogleURLTrackerClient,
public content::NotificationObserver {
public:
- ChromeGoogleURLTrackerClient();
+ explicit ChromeGoogleURLTrackerClient(Profile* profile);
virtual ~ChromeGoogleURLTrackerClient();
// GoogleURLTrackerClient:
virtual void SetListeningForNavigationStart(bool listen) OVERRIDE;
virtual bool IsListeningForNavigationStart() OVERRIDE;
virtual bool IsBackgroundNetworkingEnabled() OVERRIDE;
+ virtual PrefService* GetPrefs() OVERRIDE;
+ virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE;
private:
// content::NotificationObserver:
@@ -26,6 +30,8 @@ class ChromeGoogleURLTrackerClient : public GoogleURLTrackerClient,
const content::NotificationSource& source,
const content::NotificationDetails& details) OVERRIDE;
+ Profile* profile_;
+
content::NotificationRegistrar registrar_;
DISALLOW_COPY_AND_ASSIGN(ChromeGoogleURLTrackerClient);