Index: components/variations/service/variations_service.h |
diff --git a/components/variations/service/variations_service.h b/components/variations/service/variations_service.h |
index 6e7033b69d94c725fdd7b1b8767b84064f0db5db..fdc7dad7fe11fcb3c167a75a0eafbce68bd25835 100644 |
--- a/components/variations/service/variations_service.h |
+++ b/components/variations/service/variations_service.h |
@@ -16,6 +16,7 @@ |
#include "base/observer_list.h" |
#include "base/threading/thread_checker.h" |
#include "base/time/time.h" |
+#include "components/variations/client_filterable_state.h" |
#include "components/variations/service/ui_string_overrider.h" |
#include "components/variations/service/variations_service_client.h" |
#include "components/variations/variations_request_scheduler.h" |
@@ -236,6 +237,11 @@ class VariationsService |
// so that it can be overridden by tests. |
virtual bool LoadSeed(VariationsSeed* seed); |
+ // Returns all of the client state used for filtering studies. |
+ // As a side-effect, may update the stored permanent consistency country. |
+ std::unique_ptr<ClientFilterableState> GetClientFilterableStateForVersion( |
+ const base::Version& version); |
+ |
// Sets the stored permanent country pref for this client. |
void StorePermanentCountry(const base::Version& version, |
const std::string& country); |