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

Unified Diff: components/variations/client_filterable_state.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 | « no previous file | components/variations/proto/study.proto » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/variations/client_filterable_state.h
diff --git a/components/variations/client_filterable_state.h b/components/variations/client_filterable_state.h
index c2671f37da31e0bab649adeb8fd83f78334b6aec..20ebaa984769390b778de9d0ffb302e6ddfd6f5e 100644
--- a/components/variations/client_filterable_state.h
+++ b/components/variations/client_filterable_state.h
@@ -41,6 +41,10 @@ struct ClientFilterableState {
// identify models of devices.
std::string hardware_class;
+ // Whether this is a low-end device. Currently only supported on Android.
+ // Based on base::SysInfo::IsLowEndDevice().
+ bool is_low_end_device = false;
+
// The country code to use for studies configured with session consistency.
std::string session_consistency_country;
« no previous file with comments | « no previous file | components/variations/proto/study.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698