blob: e899093a5684440eea4b770e5a44783bf159c1c1 [file] [log] [blame]
// Copyright 2017 The Chromium Authors. All rights reserved.
// 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(const base::Closure& callback) {
init_callback_ = callback;
}
void MockController::TriggerInitCompleted() {
init_callback_.Run();
}
} // namespace test
} // namespace download