Daniel Rubery | 1287e20e | 2021-02-23 20:11:13 | [diff] [blame] | 1 | // 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 Blundell | 8bee039 | 2021-06-29 08:34:32 | [diff] [blame] | 9 | #include "components/safe_browsing/core/common/proto/csd.pb.h" |
Daniel Rubery | 1287e20e | 2021-02-23 20:11:13 | [diff] [blame] | 10 | |
| 11 | namespace safe_browsing { |
| 12 | |
Colin Blundell | d662755 | 2021-09-03 07:58:03 | [diff] [blame^] | 13 | // A convenience function that creates a ChromeUserPopulation proto for the |
| 14 | // given |profile|. |
Colin Blundell | 3c709685 | 2021-09-02 17:28:16 | [diff] [blame] | 15 | ChromeUserPopulation GetUserPopulationForProfile(Profile* profile); |
Daniel Rubery | 1287e20e | 2021-02-23 20:11:13 | [diff] [blame] | 16 | |
| 17 | } // namespace safe_browsing |
| 18 | |
| 19 | #endif // CHROME_BROWSER_SAFE_BROWSING_USER_POPULATION_H_ |