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

Unified Diff: src/platform/update_engine/omaha_request_prep_action.h

Issue 1881001: AU: Many minor cleanup changes (Closed) Base URL: ssh://git@chromiumos-git/chromeos
Patch Set: fixes for review Created 10 years, 8 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 | « src/platform/update_engine/main.cc ('k') | src/platform/update_engine/omaha_request_prep_action.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/platform/update_engine/omaha_request_prep_action.h
diff --git a/src/platform/update_engine/omaha_request_prep_action.h b/src/platform/update_engine/omaha_request_prep_action.h
index cb82a9f3065b97e337239f612e8b1210b7bc1f9f..d6030f5069b0e1307ff70a111f85b3f2d36fd90a 100644
--- a/src/platform/update_engine/omaha_request_prep_action.h
+++ b/src/platform/update_engine/omaha_request_prep_action.h
@@ -54,7 +54,8 @@ class OmahaRequestPrepAction : public Action<OmahaRequestPrepAction> {
// 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 .
- std::string GetLsbValue(const std::string& key) const;
+ std::string GetLsbValue(const std::string& key,
+ const std::string& default_value) const;
// Gets the machine type (e.g. "i686")
std::string GetMachineType() const;
« no previous file with comments | « src/platform/update_engine/main.cc ('k') | src/platform/update_engine/omaha_request_prep_action.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698