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

Unified Diff: components/variations/service/variations_service_client.h

Issue 1312143003: Abstract chrome::GetChannel() through VariationsServiceClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@variations_service_upgrade_detector
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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/variations/service/DEPS ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/variations/service/variations_service_client.h
diff --git a/components/variations/service/variations_service_client.h b/components/variations/service/variations_service_client.h
index f1a8efed18fa5f232f8217cbeb7c8a3139e5ebf1..8aa6371814960b1215f0ba6cea350123af92061c 100644
--- a/components/variations/service/variations_service_client.h
+++ b/components/variations/service/variations_service_client.h
@@ -9,6 +9,7 @@
#include "base/callback.h"
#include "base/version.h"
+#include "components/version_info/version_info.h"
namespace base {
class SequencedWorkerPool;
@@ -47,6 +48,9 @@ class VariationsServiceClient {
virtual net::URLRequestContextGetter* GetURLRequestContext() = 0;
virtual network_time::NetworkTimeTracker* GetNetworkTimeTracker() = 0;
+ // Gets the channel of the embedder.
+ virtual version_info::Channel GetChannel() = 0;
+
// Called from VariationsService::PerformPreMainMessageLoopStartup().
virtual void OnInitialStartup() {}
};
« no previous file with comments | « components/variations/service/DEPS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698