blob: 106971129daaa1ec189c10bbac2399aaac867e22 [file] [log] [blame]
// Copyright 2017 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/download/internal/background_service/test/mock_controller.h"
namespace download {
namespace test {
MockController::MockController() = default;
MockController::~MockController() = default;
void MockController::Initialize(base::OnceClosure callback) {
init_callback_ = std::move(callback);
}
void MockController::TriggerInitCompleted() {
std::move(init_callback_).Run();
}
} // namespace test
} // namespace download