blob: 2f9d21e1a19edc9d649cabd2d196dbe88236e3ce [file] [log] [blame]
// 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.
#ifndef CONTENT_BROWSER_METRICS_HISTOGRAM_SHARED_MEMORY_CONFIG_H_
#define CONTENT_BROWSER_METRICS_HISTOGRAM_SHARED_MEMORY_CONFIG_H_
#include "base/metrics/histogram_shared_memory.h"
#include "content/common/content_export.h"
#include "third_party/abseil-cpp/absl/types/optional.h"
namespace content {
// Returns the histogram shared memory configuration for |process_type|, if any.
CONTENT_EXPORT absl::optional<base::HistogramSharedMemoryConfig>
GetHistogramSharedMemoryConfig(int process_type);
} // namespace content
#endif // CONTENT_BROWSER_METRICS_HISTOGRAM_SHARED_MEMORY_CONFIG_H_