Index: omaha_request_params.h |
diff --git a/omaha_request_params.h b/omaha_request_params.h |
index b8e2ee554d22ea02f2cf546bcf3559643c513da9..075ed3fa92163828bb32b95ca35168e61a568850 100644 |
--- a/omaha_request_params.h |
+++ b/omaha_request_params.h |
@@ -106,12 +106,13 @@ class OmahaRequestDeviceParams : public OmahaRequestParams { |
bool IsValidTrack(const std::string& track) const; |
// Fetches the value for a given key from |
- // /mnt/stateful_partition/etc/lsb-release if possible. Failing that, it looks |
- // for the key in /etc/lsb-release. If |validator| is non-NULL, uses it to |
- // validate and ignore invalid valies. |
+ // /mnt/stateful_partition/etc/lsb-release if possible and |stateful_override| |
+ // is true. Failing that, it looks for the key in /etc/lsb-release. If |
+ // |validator| is non-NULL, uses it to validate and ignore invalid valies. |
std::string GetLsbValue(const std::string& key, |
const std::string& default_value, |
- ValueValidator validator) const; |
+ ValueValidator validator, |
+ bool stateful_override) const; |
// Gets the machine type (e.g. "i686"). |
std::string GetMachineType() const; |