Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(261)

Side by Side Diff: chrome/browser/metrics/variations/chrome_variations_service_client.h

Issue 1298743004: Abstract BrowserProcess dependency from VariationsService (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@variations_service_client
Patch Set: Rebase Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/metrics/variations/chrome_variations_service_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_METRICS_VARIATIONS_CHROME_VARIATIONS_SERVICE_CLIENT_H_ 5 #ifndef CHROME_BROWSER_METRICS_VARIATIONS_CHROME_VARIATIONS_SERVICE_CLIENT_H_
6 #define CHROME_BROWSER_METRICS_VARIATIONS_CHROME_VARIATIONS_SERVICE_CLIENT_H_ 6 #define CHROME_BROWSER_METRICS_VARIATIONS_CHROME_VARIATIONS_SERVICE_CLIENT_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "components/variations/variations_service_client.h" 9 #include "components/variations/variations_service_client.h"
10 10
11 // ChromeVariationsServiceClient provides an implementation of 11 // ChromeVariationsServiceClient provides an implementation of
12 // VariationsServiceClient that depends on chrome/. 12 // VariationsServiceClient that depends on chrome/.
13 class ChromeVariationsServiceClient 13 class ChromeVariationsServiceClient
14 : public chrome_variations::VariationsServiceClient { 14 : public chrome_variations::VariationsServiceClient {
15 public: 15 public:
16 ChromeVariationsServiceClient(); 16 ChromeVariationsServiceClient();
17 ~ChromeVariationsServiceClient() override; 17 ~ChromeVariationsServiceClient() override;
18 18
19 // chrome_variations::VariationsServiceClient: 19 // chrome_variations::VariationsServiceClient:
20 std::string GetApplicationLocale() override; 20 std::string GetApplicationLocale() override;
21 net::URLRequestContextGetter* GetURLRequestContext() override;
22 network_time::NetworkTimeTracker* GetNetworkTimeTracker() override;
21 23
22 private: 24 private:
23 DISALLOW_COPY_AND_ASSIGN(ChromeVariationsServiceClient); 25 DISALLOW_COPY_AND_ASSIGN(ChromeVariationsServiceClient);
24 }; 26 };
25 27
26 #endif // CHROME_BROWSER_METRICS_VARIATIONS_CHROME_VARIATIONS_SERVICE_CLIENT_H_ 28 #endif // CHROME_BROWSER_METRICS_VARIATIONS_CHROME_VARIATIONS_SERVICE_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/metrics/variations/chrome_variations_service_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698