chromium/components/cronet/native/test/test_request_finished_info_listener.cc

// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/cronet/native/test/test_request_finished_info_listener.h"

#include "base/check.h"

namespace cronet {
namespace test {

Cronet_RequestFinishedInfoListenerPtr
TestRequestFinishedInfoListener::CreateRequestFinishedListener() {}

void TestRequestFinishedInfoListener::WaitForDone() {}

/* static */
TestRequestFinishedInfoListener* TestRequestFinishedInfoListener::GetThis(
    Cronet_RequestFinishedInfoListenerPtr self) {}

/* static */
void TestRequestFinishedInfoListener::OnRequestFinished(
    Cronet_RequestFinishedInfoListenerPtr self,
    Cronet_RequestFinishedInfoPtr request_finished_info,
    Cronet_UrlResponseInfoPtr url_response_info,
    Cronet_ErrorPtr error) {}

void TestRequestFinishedInfoListener::OnRequestFinished(
    Cronet_RequestFinishedInfoPtr request_finished_info,
    Cronet_UrlResponseInfoPtr url_response_info,
    Cronet_ErrorPtr error) {}

}  // namespace test
}  // namespace cronet