Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / ios / chrome / browser / google / google_url_tracker_client_impl.h
blobfb39b7dad6848726866e338ae6f823a04731a0c1
1 // Copyright 2015 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 IOS_CHROME_BROWSER_GOOGLE_GOOGLE_URL_TRACKER_CLIENT_IMPL_H_
6 #define IOS_CHROME_BROWSER_GOOGLE_GOOGLE_URL_TRACKER_CLIENT_IMPL_H_
8 #include "base/macros.h"
9 #include "components/google/core/browser/google_url_tracker_client.h"
11 class PrefService;
13 namespace ios {
14 class ChromeBrowserState;
17 namespace net {
18 class URLRequestContextGetter;
21 class GoogleURLTrackerClientImpl : public GoogleURLTrackerClient {
22 public:
23 explicit GoogleURLTrackerClientImpl(ios::ChromeBrowserState* browser_state);
24 ~GoogleURLTrackerClientImpl() override;
26 private:
27 // GoogleURLTrackerClient implementation.
28 bool IsBackgroundNetworkingEnabled() override;
29 PrefService* GetPrefs() override;
30 net::URLRequestContextGetter* GetRequestContext() override;
32 ios::ChromeBrowserState* browser_state_;
34 DISALLOW_COPY_AND_ASSIGN(GoogleURLTrackerClientImpl);
37 #endif // IOS_CHROME_BROWSER_GOOGLE_GOOGLE_URL_TRACKER_CLIENT_IMPL_H_