#include "components/feed/core/v2/launch_reliability_logger.h"
#include "base/time/time.h"
#include "components/feed/core/proto/v2/wire/reliability_logging_enums.pb.h"
#include "components/feed/core/v2/feed_stream.h"
#include "components/feed/core/v2/feed_stream_surface.h"
#include "components/feed/core/v2/public/reliability_logging_bridge.h"
#include "components/feed/core/v2/public/types.h"
#include "components/feed/core/v2/stream_surface_set.h"
namespace feed {
LaunchReliabilityLogger::LaunchReliabilityLogger(StreamSurfaceSet* surfaces)
: … { … }
LaunchReliabilityLogger::~LaunchReliabilityLogger() = default;
void LaunchReliabilityLogger::LogFeedLaunchOtherStart() { … }
void LaunchReliabilityLogger::LogLaunchFinishedAfterStreamUpdate(
feedwire::DiscoverLaunchResult result) { … }
void LaunchReliabilityLogger::LogCacheReadStart() { … }
void LaunchReliabilityLogger::LogCacheReadEnd(
feedwire::DiscoverCardReadCacheResult result) { … }
NetworkRequestId LaunchReliabilityLogger::LogFeedRequestStart() { … }
NetworkRequestId LaunchReliabilityLogger::LogActionsUploadRequestStart() { … }
NetworkRequestId LaunchReliabilityLogger::LogWebFeedRequestStart() { … }
NetworkRequestId LaunchReliabilityLogger::LogSingleWebFeedRequestStart() { … }
void LaunchReliabilityLogger::LogRequestSent(NetworkRequestId id,
base::TimeTicks timestamp) { … }
void LaunchReliabilityLogger::LogResponseReceived(
NetworkRequestId id,
int64_t server_receive_timestamp_ns,
int64_t server_send_timestamp_ns,
base::TimeTicks client_receive_timestamp) { … }
void LaunchReliabilityLogger::LogRequestFinished(
NetworkRequestId id,
int combined_network_status_code) { … }
void LaunchReliabilityLogger::LogLoadMoreStarted() { … }
void LaunchReliabilityLogger::LogLoadMoreActionUploadRequestStarted() { … }
void LaunchReliabilityLogger::LogLoadMoreRequestSent() { … }
void LaunchReliabilityLogger::LogLoadMoreResponseReceived(
int64_t server_receive_timestamp_ns,
int64_t server_send_timestamp_ns) { … }
void LaunchReliabilityLogger::LogLoadMoreRequestFinished(int canonical_status) { … }
void LaunchReliabilityLogger::LogLoadMoreEnded(bool success) { … }
void LaunchReliabilityLogger::OnStreamUpdate(StreamUpdateType type) { … }
void LaunchReliabilityLogger::OnStreamUpdate(StreamUpdateType type,
SurfaceRenderer& renderer) { … }
void LaunchReliabilityLogger::ReportExperiments(
const std::vector<int32_t>& experiment_ids) { … }
}