blob: 63ba4d36fe6dc7e4dfcefb1d7ab81a486b71fcc8 [file] [log] [blame]
// Copyright 2024 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chromeos/ash/components/osauth/impl/auth_surface_registry.h"
#include "base/notimplemented.h"
#include "base/task/single_thread_task_runner.h"
namespace ash {
AuthSurfaceRegistry::AuthSurfaceRegistry() = default;
AuthSurfaceRegistry::~AuthSurfaceRegistry() = default;
void AuthSurfaceRegistry::NotifyLoginScreenAuthDialogShown() {
NOTIMPLEMENTED();
}
void AuthSurfaceRegistry::NotifyLockScreenAuthDialogShown() {
NOTIMPLEMENTED();
}
void AuthSurfaceRegistry::NotifyInSessionAuthDialogShown() {
callback_list_.Notify(AuthSurface::kInSession);
}
base::CallbackListSubscription AuthSurfaceRegistry::RegisterShownCallback(
CallbackList::CallbackType on_shown) {
return callback_list_.Add(std::move(on_shown));
}
} // namespace ash