#include "chrome/browser/web_applications/web_app_origin_association_manager.h"
#include <utility>
#include "base/functional/bind.h"
#include "chrome/browser/web_applications/web_app_origin_association_task.h"
#include "components/webapps/services/web_app_origin_association/web_app_origin_association_fetcher.h"
#include "components/webapps/services/web_app_origin_association/web_app_origin_association_parser_service.h"
namespace web_app {
WebAppOriginAssociationManager::WebAppOriginAssociationManager()
: … { … }
WebAppOriginAssociationManager::~WebAppOriginAssociationManager() = default;
void WebAppOriginAssociationManager::GetWebAppOriginAssociations(
const GURL& web_app_identity,
ScopeExtensions scope_extensions,
OnDidGetWebAppOriginAssociations callback) { … }
void WebAppOriginAssociationManager::MaybeStartNextTask() { … }
void WebAppOriginAssociationManager::OnTaskCompleted() { … }
void WebAppOriginAssociationManager::SetFetcherForTest(
std::unique_ptr<webapps::WebAppOriginAssociationFetcher> fetcher) { … }
webapps::WebAppOriginAssociationFetcher&
WebAppOriginAssociationManager::GetFetcherForTest() { … }
const mojo::Remote<webapps::mojom::WebAppOriginAssociationParser>&
WebAppOriginAssociationManager::GetParser() { … }
webapps::WebAppOriginAssociationFetcher&
WebAppOriginAssociationManager::GetFetcher() { … }
}