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

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

Issue 1309843005: Remove more //chrome dependencies from VariationsService (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@variations_service_get_channel
Patch Set: Response to review Created 5 years, 3 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 | « components/variations/BUILD.gn ('k') | components/variations/variations_switches.h » ('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 COMPONENTS_VARIATIONS_SERVICE_VARIATIONS_SERVICE_CLIENT_H_ 5 #ifndef COMPONENTS_VARIATIONS_SERVICE_VARIATIONS_SERVICE_CLIENT_H_
6 #define COMPONENTS_VARIATIONS_SERVICE_VARIATIONS_SERVICE_CLIENT_H_ 6 #define COMPONENTS_VARIATIONS_SERVICE_VARIATIONS_SERVICE_CLIENT_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/strings/string16.h"
11 #include "base/version.h" 12 #include "base/version.h"
12 #include "components/version_info/version_info.h" 13 #include "components/version_info/version_info.h"
13 14
14 namespace base { 15 namespace base {
15 class SequencedWorkerPool; 16 class SequencedWorkerPool;
16 } 17 }
17 18
18 namespace net { 19 namespace net {
19 class URLRequestContextGetter; 20 class URLRequestContextGetter;
20 } 21 }
(...skipping 23 matching lines...) Expand all
44 // VariationsServiceClient::GetBlockingPool(). 45 // VariationsServiceClient::GetBlockingPool().
45 virtual base::Callback<base::Version(void)> 46 virtual base::Callback<base::Version(void)>
46 GetVersionForSimulationCallback() = 0; 47 GetVersionForSimulationCallback() = 0;
47 48
48 virtual net::URLRequestContextGetter* GetURLRequestContext() = 0; 49 virtual net::URLRequestContextGetter* GetURLRequestContext() = 0;
49 virtual network_time::NetworkTimeTracker* GetNetworkTimeTracker() = 0; 50 virtual network_time::NetworkTimeTracker* GetNetworkTimeTracker() = 0;
50 51
51 // Gets the channel of the embedder. 52 // Gets the channel of the embedder.
52 virtual version_info::Channel GetChannel() = 0; 53 virtual version_info::Channel GetChannel() = 0;
53 54
55 // Allows the embedder to override the string resource specified by |hash|
56 // with |string| in the resource bundle if desired.
57 virtual void OverrideUIString(uint32_t hash,
58 const base::string16& string) = 0;
59
54 // Called from VariationsService::PerformPreMainMessageLoopStartup(). 60 // Called from VariationsService::PerformPreMainMessageLoopStartup().
55 virtual void OnInitialStartup() {} 61 virtual void OnInitialStartup() {}
56 }; 62 };
57 63
58 } // namespace chrome_variations 64 } // namespace chrome_variations
59 65
60 #endif // COMPONENTS_VARIATIONS_SERVICE_VARIATIONS_SERVICE_CLIENT_H_ 66 #endif // COMPONENTS_VARIATIONS_SERVICE_VARIATIONS_SERVICE_CLIENT_H_
OLDNEW
« no previous file with comments | « components/variations/BUILD.gn ('k') | components/variations/variations_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698