chromium/chrome/browser/web_applications/web_app_origin_association_task.cc

// Copyright 2021 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/web_applications/web_app_origin_association_task.h"

#include <utility>

#include "base/containers/flat_set.h"
#include "base/functional/bind.h"
#include "base/task/sequenced_task_runner.h"
#include "chrome/browser/browser_process.h"
#include "components/webapps/services/web_app_origin_association/public/mojom/web_app_origin_association_parser.mojom.h"
#include "components/webapps/services/web_app_origin_association/web_app_origin_association_fetcher.h"
#include "services/network/public/cpp/shared_url_loader_factory.h"
#include "url/gurl.h"

namespace web_app {

WebAppOriginAssociationManager::Task::Task(
    const GURL& web_app_identity,
    ScopeExtensions scope_extensions,
    WebAppOriginAssociationManager& manager,
    OnDidGetWebAppOriginAssociations callback)
    :{}

WebAppOriginAssociationManager::Task::~Task() = default;

void WebAppOriginAssociationManager::Task::Start() {}

ScopeExtensionInfo&
WebAppOriginAssociationManager::Task::GetCurrentScopeExtension() {}

void WebAppOriginAssociationManager::Task::FetchAssociationFile(
    ScopeExtensionInfo& scope_extension) {}

void WebAppOriginAssociationManager::Task::OnAssociationFileFetched(
    std::unique_ptr<std::string> file_content) {}

void WebAppOriginAssociationManager::Task::OnAssociationParsed(
    webapps::mojom::WebAppOriginAssociationPtr association,
    std::vector<webapps::mojom::WebAppOriginAssociationErrorPtr> errors) {}

void WebAppOriginAssociationManager::Task::MaybeStartNextScopeExtension() {}

void WebAppOriginAssociationManager::Task::Finalize() {}

}  // namespace web_app