Don't send machine and user ID to Omaha anymore. Send a/r pings instead.
This avoids sending a unique ID in order to track active user counts.
Note that this CL doesn't remove the machine/user/Omaha ID/file from
the params object -- it just makes them unused/obsolete. Removal will
be done in a subsequent CL in an effort to make this CL smaller.
BUG=1439
TEST=unit tests, x86-generic, arm-generic, gmerged and inspected logs
Review URL: http://codereview.chromium.org/2856070
diff --git a/prefs_interface.h b/prefs_interface.h
index 5f75479..dbfa68a 100644
--- a/prefs_interface.h
+++ b/prefs_interface.h
@@ -9,6 +9,9 @@
namespace chromeos_update_engine {
+extern const char kPrefsLastActivePingDay[];
+extern const char kPrefsLastRollCallPingDay[];
+
// The prefs interface allows access to a persistent preferences
// store. The two reasons for providing this as an interface are
// testing as well as easier switching to a new implementation in the
@@ -33,6 +36,8 @@
// Associates |key| with an int64 |value|. Returns true on success,
// false otherwise.
virtual bool SetInt64(const std::string& key, const int64_t value) = 0;
+
+ virtual ~PrefsInterface() {}
};
} // namespace chromeos_update_engine