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

Unified Diff: update_attempter.h

Issue 2856070: Don't send machine and user ID to Omaha anymore. Send a/r pings instead. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/update_engine.git
Patch Set: Address review comments. Created 10 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
Index: update_attempter.h
diff --git a/update_attempter.h b/update_attempter.h
index cd7f480aa127690b8aa442deb100d5bf16b56038..6fd4c1626e24869b9cd19e06da63f22423292267 100644
--- a/update_attempter.h
+++ b/update_attempter.h
@@ -38,8 +38,9 @@ const char* UpdateStatusToString(UpdateStatus status);
class UpdateAttempter : public ActionProcessorDelegate,
public DownloadActionDelegate {
public:
- UpdateAttempter(MetricsLibraryInterface* metrics_lib)
+ UpdateAttempter(PrefsInterface* prefs, MetricsLibraryInterface* metrics_lib)
: dbus_service_(NULL),
+ prefs_(prefs),
metrics_lib_(metrics_lib),
status_(UPDATE_STATUS_IDLE),
download_progress_(0.0),
@@ -120,6 +121,9 @@ class UpdateAttempter : public ActionProcessorDelegate,
// pointer to the OmahaResponseHandlerAction in the actions_ vector;
std::tr1::shared_ptr<OmahaResponseHandlerAction> response_handler_action_;
+ // Pointer to the preferences store interface.
+ PrefsInterface* prefs_;
+
// Pointer to the UMA metrics collection library.
MetricsLibraryInterface* metrics_lib_;
« omaha_request_action.h ('K') | « prefs_unittest.cc ('k') | update_attempter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698