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

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

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.cc
diff --git a/components/variations/service/variations_service.cc b/components/variations/service/variations_service.cc
index 34be822271ed3f41ccd1feaac67454215220696f..826fe0d864f2ebcb388d3d97f6030d450a60fe3d 100644
--- a/components/variations/service/variations_service.cc
+++ b/components/variations/service/variations_service.cc
@@ -929,4 +929,8 @@ bool VariationsService::OverrideStoredPermanentCountry(
return true;
}
+std::string VariationsService::GetLatestCountry() const {
+ return local_state_->GetString(prefs::kVariationsCountry);
+}
+
} // namespace variations

Powered by Google App Engine
This is Rietveld 408576698