blob: 5af7fc1c371264da4e5333674328df29ec91948b [file] [log] [blame]
Daniel Rubery1287e20e2021-02-23 20:11:131// Copyright 2021 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef CHROME_BROWSER_SAFE_BROWSING_USER_POPULATION_H_
6#define CHROME_BROWSER_SAFE_BROWSING_USER_POPULATION_H_
7
8#include "chrome/browser/profiles/profile.h"
Colin Blundell8bee0392021-06-29 08:34:329#include "components/safe_browsing/core/common/proto/csd.pb.h"
Daniel Rubery1287e20e2021-02-23 20:11:1310
11namespace safe_browsing {
12
Colin Blundelld6627552021-09-03 07:58:0313// A convenience function that creates a ChromeUserPopulation proto for the
14// given |profile|.
Colin Blundell3c7096852021-09-02 17:28:1615ChromeUserPopulation GetUserPopulationForProfile(Profile* profile);
Daniel Rubery1287e20e2021-02-23 20:11:1316
17} // namespace safe_browsing
18
19#endif // CHROME_BROWSER_SAFE_BROWSING_USER_POPULATION_H_