platform_system_core/metrics/uploader
Alex Vakulenko 3d41d4561d libchromeos: Cleaned up HTTP utilities
Renamed http utilities by appending ...AndBlock() to make it
obvious that they are blocking (synchronous) calls. Async I/O
is coming in subsequent CLs.

Replaced a bunch of "const char*" with "const std::string&" in
function prototypes.

Also removed extra overloads for http_utils functions in preparation
for adding asynchronous API which would bloat the overloads even more.
The original overloads were to provide the ability to omit some
less-commonly-used parameters, but that would eventually make the API
harder to choose from since the number of overloads will get out of hand.

Swept the code to remove unnecessary calls to std::string::c_str() and
added omitted parameters in calls to http_utils functions.

BUG=None
TEST=FEATURES=test emerge-link libchromeos peerd privetd feedback metrics buffet
CQ-DEPEND=CL:*191319

Change-Id: I9c1721cd2179ba3b389dd94ef181370eec98ed2e
Reviewed-on: https://chromium-review.googlesource.com/239251
Tested-by: Alex Vakulenko <avakulenko@chromium.org>
Reviewed-by: Vitaly Buka <vitalybuka@chromium.org>
Reviewed-by: Christopher Wiley <wiley@chromium.org>
Commit-Queue: Alex Vakulenko <avakulenko@chromium.org>
2015-01-14 03:11:25 +00:00
..
mock metrics: Replace 'OVERRIDE' with 'override' and fix linter 2014-08-16 05:26:56 +00:00
metrics_hashes.cc metrics: fork metrics sources from Chromium source base 2014-12-12 21:38:08 +00:00
metrics_hashes.h metrics: fork metrics sources from Chromium source base 2014-12-12 21:38:08 +00:00
metrics_hashes_unittest.cc metrics: fork metrics sources from Chromium source base 2014-12-12 21:38:08 +00:00
metrics_log.cc Add an uploader to metrics_daemon 2014-07-08 04:28:11 +00:00
metrics_log.h metrics: fork metrics sources from Chromium source base 2014-12-12 21:38:08 +00:00
metrics_log_base.cc metrics: fork metrics sources from Chromium source base 2014-12-12 21:38:08 +00:00
metrics_log_base.h metrics: fork metrics sources from Chromium source base 2014-12-12 21:38:08 +00:00
metrics_log_base_unittest.cc metrics: fork metrics sources from Chromium source base 2014-12-12 21:38:08 +00:00
sender.h metrics: fix memory leaks in unittest. 2014-08-29 21:55:22 +00:00
sender_http.cc libchromeos: Cleaned up HTTP utilities 2015-01-14 03:11:25 +00:00
sender_http.h metrics: Switch uploader to use http_utils from libchromeos 2014-09-09 13:49:28 +00:00
system_profile_cache.cc Update libchrome to r307740 and fix build errors 2014-12-15 07:18:09 +00:00
system_profile_cache.h metrics: add support for other product id 2014-10-10 06:54:05 +00:00
system_profile_setter.h metrics: fix memory leaks in unittest. 2014-09-03 19:31:45 +00:00
upload_service.cc metrics: fork metrics sources from Chromium source base 2014-12-12 21:38:08 +00:00
upload_service.h metrics: use TimeDelta for upload_interval 2014-10-15 00:10:07 +00:00
upload_service_test.cc metrics: fork metrics sources from Chromium source base 2014-12-12 21:38:08 +00:00