Make castv2 performance test work.
[chromium-blink-merge.git] / chrome / browser / google / chrome_google_url_tracker_client.h
blob2e0d567be333186bba2a698ac5aa297351115be6
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_GOOGLE_CHROME_GOOGLE_URL_TRACKER_CLIENT_H_
6 #define CHROME_BROWSER_GOOGLE_CHROME_GOOGLE_URL_TRACKER_CLIENT_H_
8 #include "components/google/core/browser/google_url_tracker_client.h"
10 class Profile;
12 class ChromeGoogleURLTrackerClient : public GoogleURLTrackerClient {
13 public:
14 explicit ChromeGoogleURLTrackerClient(Profile* profile);
15 ~ChromeGoogleURLTrackerClient() override;
17 // GoogleURLTrackerClient:
18 bool IsBackgroundNetworkingEnabled() override;
19 PrefService* GetPrefs() override;
20 net::URLRequestContextGetter* GetRequestContext() override;
22 private:
23 Profile* profile_;
25 DISALLOW_COPY_AND_ASSIGN(ChromeGoogleURLTrackerClient);
28 #endif // CHROME_BROWSER_GOOGLE_CHROME_GOOGLE_URL_TRACKER_CLIENT_H_