#include "components/offline_pages/core/background/request_coordinator_event_logger.h"
#include <string>
#include "base/strings/strcat.h"
#include "base/strings/string_number_conversions.h"
namespace offline_pages {
namespace {
static std::string BackgroundSavePageResultToString(
RequestNotifier::BackgroundSavePageResult result) { … }
static std::string UpdateRequestResultToString(UpdateRequestResult result) { … }
}
void RequestCoordinatorEventLogger::RecordOfflinerResult(
const std::string& name_space,
Offliner::RequestStatus new_status,
int64_t request_id) { … }
void RequestCoordinatorEventLogger::RecordDroppedSavePageRequest(
const std::string& name_space,
RequestNotifier::BackgroundSavePageResult result,
int64_t request_id) { … }
void RequestCoordinatorEventLogger::RecordUpdateRequestFailed(
const std::string& name_space,
UpdateRequestResult result) { … }
void RequestCoordinatorEventLogger::RecordAddRequestFailed(
const std::string& name_space,
AddRequestResult result) { … }
}