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
26
27
28
29
30
31
32
33
ash / system / diagnostics / diagnostics_browser_delegate.h [blame]
// Copyright 2022 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_SYSTEM_DIAGNOSTICS_DIAGNOSTICS_BROWSER_DELEGATE_H_
#define ASH_SYSTEM_DIAGNOSTICS_DIAGNOSTICS_BROWSER_DELEGATE_H_
#include "ash/ash_export.h"
#include "base/files/file_path.h"
namespace ash {
namespace diagnostics {
// Interface for retrieving state information from browser to be used by
// DiagnosticsLogController.
class ASH_EXPORT DiagnosticsBrowserDelegate {
public:
DiagnosticsBrowserDelegate();
DiagnosticsBrowserDelegate(const DiagnosticsBrowserDelegate&) = delete;
DiagnosticsBrowserDelegate& operator=(const DiagnosticsBrowserDelegate&) =
delete;
virtual ~DiagnosticsBrowserDelegate();
// Override to retrieve full path to active user's profile directory or an
// empty path if there is no active user or the user's profile has not been
// loaded yet.
virtual base::FilePath GetActiveUserProfileDir() = 0;
};
} // namespace diagnostics
} // namespace ash
#endif // ASH_SYSTEM_DIAGNOSTICS_DIAGNOSTICS_BROWSER_DELEGATE_H_