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"
14 class ChromeBrowserState
;
18 class URLRequestContextGetter
;
21 class GoogleURLTrackerClientImpl
: public GoogleURLTrackerClient
{
23 explicit GoogleURLTrackerClientImpl(ios::ChromeBrowserState
* browser_state
);
24 ~GoogleURLTrackerClientImpl() override
;
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_