blob: 60e9bc77d16feeb63486ddd4736a28f153bdcb34 [file] [log] [blame]
// Copyright 2024 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/supervised_user/test_support/testutil_proto_fetcher.h"
#include <memory>
#include <string>
#include "components/supervised_user/core/browser/proto_fetcher.h"
namespace supervised_user {
template <>
void TypedFetchProcess<std::string>::OnResponse(
std::unique_ptr<std::string> response_body) {
CHECK(response_body) << "Use OnError when there is no response.";
OnSuccess(std::move(response_body));
}
} // namespace supervised_user