chromium/ash/system/diagnostics/fake_diagnostics_browser_delegate.cc

// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "ash/system/diagnostics/fake_diagnostics_browser_delegate.h"

#include "base/files/file_path.h"

namespace ash::diagnostics {

FakeDiagnosticsBrowserDelegate::FakeDiagnosticsBrowserDelegate(
    const base::FilePath& path)
    : active_user_dir_(path) {}

base::FilePath FakeDiagnosticsBrowserDelegate::GetActiveUserProfileDir() {
  return active_user_dir_;
}

}  // namespace ash::diagnostics