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

Unified Diff: omaha_request_params.h

Issue 4988002: AU: Don't allow deltas if the rootfs track is different than the request track. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/update_engine.git@master
Patch Set: Created 10 years, 1 month 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 | omaha_request_params.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « no previous file | omaha_request_params.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698