1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
ash / webui / sanitize_ui / sanitize_ui_delegate.h [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.
#ifndef ASH_WEBUI_SANITIZE_UI_SANITIZE_UI_DELEGATE_H_
#define ASH_WEBUI_SANITIZE_UI_SANITIZE_UI_DELEGATE_H_
#include "base/functional/callback.h"
namespace ash {
// A delegate which exposes the functionality to //chrome
class SanitizeUIDelegate {
public:
virtual ~SanitizeUIDelegate() = default;
virtual void PerformSanitizeSettings() = 0;
virtual void SetAttemptRestartForTesting(
const base::RepeatingClosure& restart_attempt) = 0;
};
} // namespace ash
#endif // ASH_WEBUI_SANITIZE_UI_SANITIZE_UI_DELEGATE_H_