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

Side by Side Diff: components/variations/variations_service_client.h

Issue 1297193002: Move VariationsRegistrySyncerWin to ChromeVariationsServiceClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Response to review 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 | « chrome/browser/metrics/variations/variations_service.cc ('k') | no next file » | 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 COMPONENTS_VARIATIONS_VARIATIONS_SERVICE_CLIENT_H_ 5 #ifndef COMPONENTS_VARIATIONS_VARIATIONS_SERVICE_CLIENT_H_
6 #define COMPONENTS_VARIATIONS_VARIATIONS_SERVICE_CLIENT_H_ 6 #define COMPONENTS_VARIATIONS_VARIATIONS_SERVICE_CLIENT_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 namespace net { 10 namespace net {
(...skipping 10 matching lines...) Expand all
21 // environment. 21 // environment.
22 class VariationsServiceClient { 22 class VariationsServiceClient {
23 public: 23 public:
24 virtual ~VariationsServiceClient() {} 24 virtual ~VariationsServiceClient() {}
25 25
26 // Returns the current application locale (e.g. "en-US"). 26 // Returns the current application locale (e.g. "en-US").
27 virtual std::string GetApplicationLocale() = 0; 27 virtual std::string GetApplicationLocale() = 0;
28 28
29 virtual net::URLRequestContextGetter* GetURLRequestContext() = 0; 29 virtual net::URLRequestContextGetter* GetURLRequestContext() = 0;
30 virtual network_time::NetworkTimeTracker* GetNetworkTimeTracker() = 0; 30 virtual network_time::NetworkTimeTracker* GetNetworkTimeTracker() = 0;
31
32 // Called from VariationsService::PerformPreMainMessageLoopStartup().
33 virtual void OnInitialStartup() {}
31 }; 34 };
32 35
33 } // namespace chrome_variations 36 } // namespace chrome_variations
34 37
35 #endif // COMPONENTS_VARIATIONS_VARIATIONS_SERVICE_CLIENT_H_ 38 #endif // COMPONENTS_VARIATIONS_VARIATIONS_SERVICE_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/browser/metrics/variations/variations_service.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698