chromium/chrome/browser/ui/webui/welcome/ntp_background_fetcher.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 "chrome/browser/ui/webui/welcome/ntp_background_fetcher.h"

#include <utility>

#include "base/memory/ref_counted_memory.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/net/system_network_context_manager.h"
#include "chrome/browser/search/background/ntp_backgrounds.h"
#include "net/base/load_flags.h"
#include "net/traffic_annotation/network_traffic_annotation.h"
#include "services/network/public/cpp/resource_request.h"
#include "services/network/public/cpp/simple_url_loader.h"
#include "services/network/public/mojom/url_loader_factory.mojom.h"
#include "url/gurl.h"

namespace welcome {

NtpBackgroundFetcher::NtpBackgroundFetcher(
    size_t index,
    content::WebUIDataSource::GotDataCallback callback)
    :{}

NtpBackgroundFetcher::~NtpBackgroundFetcher() = default;

void NtpBackgroundFetcher::OnFetchCompleted(
    std::unique_ptr<std::string> response_body) {}

}  // namespace welcome