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

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

Issue 2828093002: Add plumbing for accessing latest country in variations service in Java (Closed)
Patch Set: nits Created 3 years, 8 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
Index: components/variations/service/variations_service.h
diff --git a/components/variations/service/variations_service.h b/components/variations/service/variations_service.h
index 74357b5f14da9242c5fef9c69b7b3120357df04e..6e7033b69d94c725fdd7b1b8767b84064f0db5db 100644
--- a/components/variations/service/variations_service.h
+++ b/components/variations/service/variations_service.h
@@ -128,6 +128,10 @@ class VariationsService
// reason.
bool OverrideStoredPermanentCountry(const std::string& override_country);
+ // Returns what variations will consider to be the latest country. Returns
+ // empty if it is not available.
+ std::string GetLatestCountry() const;
+
// Exposed for testing.
static std::string GetDefaultVariationsServerURLForTesting();
« no previous file with comments | « chrome/browser/android/metrics/variations_session.cc ('k') | components/variations/service/variations_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698