chromium/components/page_content_annotations/core/page_content_annotation_job_executor.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 "components/page_content_annotations/core/page_content_annotation_job_executor.h"

#include "base/barrier_closure.h"
#include "base/check_op.h"

namespace page_content_annotations {

PageContentAnnotationJobExecutor::PageContentAnnotationJobExecutor() = default;
PageContentAnnotationJobExecutor::~PageContentAnnotationJobExecutor() = default;

void PageContentAnnotationJobExecutor::ExecuteJob(
    base::OnceClosure on_job_complete_callback_from_caller,
    std::unique_ptr<PageContentAnnotationJob> unique_job) {}

void PageContentAnnotationJobExecutor::OnJobExecutionComplete(
    base::OnceClosure on_job_complete_callback_from_caller,
    std::unique_ptr<PageContentAnnotationJob> job) {}

void PageContentAnnotationJobExecutor::OnSingleInputExecutionComplete(
    PageContentAnnotationJob* job,
    size_t index,
    base::OnceClosure on_single_input_done_barrier_closure,
    const BatchAnnotationResult& output) {}

}  // namespace page_content_annotations