blob: e2e5b6ea214a23bb89ea74f803b3dbfece32f9c7 [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
Colin Blundell014ab17b2021-09-03 09:55:405#ifndef CHROME_BROWSER_SAFE_BROWSING_CHROME_USER_POPULATION_HELPER_H_
6#define CHROME_BROWSER_SAFE_BROWSING_CHROME_USER_POPULATION_HELPER_H_
Daniel Rubery1287e20e2021-02-23 20:11:137
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
Colin Blundell014ab17b2021-09-03 09:55:4019#endif // CHROME_BROWSER_SAFE_BROWSING_CHROME_USER_POPULATION_HELPER_H_