blob: 96b0daa5c4c0c797ef2cc631a14b92915f5f8755 [file] [log] [blame]
// Copyright 2020 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 "chrome/browser/ui/extensions/extension_enable_flow_test_delegate.h"
ExtensionEnableFlowTestDelegate::ExtensionEnableFlowTestDelegate() = default;
ExtensionEnableFlowTestDelegate::~ExtensionEnableFlowTestDelegate() = default;
void ExtensionEnableFlowTestDelegate::ExtensionEnableFlowFinished() {
result_ = FINISHED;
run_loop_.Quit();
}
void ExtensionEnableFlowTestDelegate::ExtensionEnableFlowAborted(
bool user_initiated) {
result_ = ABORTED;
run_loop_.Quit();
}
void ExtensionEnableFlowTestDelegate::Wait() {
run_loop_.Run();
}