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

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

Issue 2828093002: Add plumbing for accessing latest country in variations service in Java (Closed)
Patch Set: 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..d5729167b2362a49f510da69412bda84e0d2d932 100644
--- a/components/variations/service/variations_service.h
+++ b/components/variations/service/variations_service.h
@@ -128,6 +128,9 @@ class VariationsService
// reason.
bool OverrideStoredPermanentCountry(const std::string& override_country);
+ // Returns what variations will consider to be the latest country.
Alexei Svitkine (slow) 2017/04/19 21:42:57 Mention that this returns the empty string if not
Yusuf 2017/04/19 22:16:46 Done.
+ std::string GetLatestCountry() const;
+
// Exposed for testing.
static std::string GetDefaultVariationsServerURLForTesting();

Powered by Google App Engine
This is Rietveld 408576698