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

Unified Diff: components/variations/study_filtering.h

Issue 2970093002: Add variations filtering for is_low_end_device. (Closed)
Patch Set: Address comments. Created 3 years, 5 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/variations_service.cc ('k') | components/variations/study_filtering.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/variations/study_filtering.h
diff --git a/components/variations/study_filtering.h b/components/variations/study_filtering.h
index a5667cdb6cb5dd0440155c3b3226e9d74d7b47bd..87b4fae996f1384216fcab4b14969656ac9ee2af 100644
--- a/components/variations/study_filtering.h
+++ b/components/variations/study_filtering.h
@@ -41,6 +41,10 @@ bool CheckStudyLocale(const Study::Filter& filter, const std::string& locale);
// Checks whether a study is applicable for the given |platform| per |filter|.
bool CheckStudyPlatform(const Study::Filter& filter, Study::Platform platform);
+// Checks whether a study is applicable given |is_low_end_device| per |filter|.
+bool CheckStudyLowEndDevice(const Study::Filter& filter,
+ bool is_low_end_device);
+
// Checks whether a study is applicable for the given date/time per |filter|.
bool CheckStudyStartDate(const Study::Filter& filter,
const base::Time& date_time);
« no previous file with comments | « components/variations/service/variations_service.cc ('k') | components/variations/study_filtering.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698