#include "remoting/signaling/remoting_log_to_server.h"
#include "base/test/mock_callback.h"
#include "base/test/task_environment.h"
#include "remoting/base/fake_oauth_token_getter.h"
#include "remoting/base/protobuf_http_status.h"
#include "remoting/proto/remoting/v1/telemetry_messages.pb.h"
#include "services/network/public/cpp/shared_url_loader_factory.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace remoting {
namespace {
_;
}
class RemotingLogToServerTest : public testing::Test { … };
TEST_F(RemotingLogToServerTest, SuccessfullySendOneLog) { … }
TEST_F(RemotingLogToServerTest, FailedToSend_RetryWithBackoff) { … }
TEST_F(RemotingLogToServerTest, FailedToSendTwoLogs_RetryThenSucceeds) { … }
}