Avi Drissman | 4a8573c | 2022-09-09 19:35:54 | [diff] [blame] | 1 | // Copyright 2015 The Chromium Authors |
anthonyvd | b50a7cb | 2015-07-13 15:42:03 | [diff] [blame] | 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_PROFILES_PROFILE_ATTRIBUTES_ENTRY_H_ | ||||
6 | #define CHROME_BROWSER_PROFILES_PROFILE_ATTRIBUTES_ENTRY_H_ | ||||
7 | |||||
avi | b896c71 | 2015-12-26 02:10:43 | [diff] [blame] | 8 | #include <stddef.h> |
9 | |||||
WC Leung | 9fd803f | 2017-08-23 08:27:13 | [diff] [blame] | 10 | #include <memory> |
Arthur Sonzogni | fe132ee | 2024-01-15 11:01:04 | [diff] [blame] | 11 | #include <optional> |
anthonyvd | b50a7cb | 2015-07-13 15:42:03 | [diff] [blame] | 12 | #include <string> |
13 | |||||
David Roger | f90eb30 | 2021-07-30 08:02:53 | [diff] [blame] | 14 | #include "base/containers/flat_set.h" |
Monica Basta | 2288a0e3 | 2019-09-26 13:29:32 | [diff] [blame] | 15 | #include "base/feature_list.h" |
anthonyvd | b50a7cb | 2015-07-13 15:42:03 | [diff] [blame] | 16 | #include "base/files/file_path.h" |
WC Leung | 9fd803f | 2017-08-23 08:27:13 | [diff] [blame] | 17 | #include "base/gtest_prod_util.h" |
Keishi Hattori | 0e45c02 | 2021-11-27 09:25:52 | [diff] [blame] | 18 | #include "base/memory/raw_ptr.h" |
anthonyvd | b50a7cb | 2015-07-13 15:42:03 | [diff] [blame] | 19 | #include "base/time/time.h" |
WC Leung | 9fd803f | 2017-08-23 08:27:13 | [diff] [blame] | 20 | #include "base/values.h" |
Amelie Schneider | 80c2f0b0 | 2024-07-09 08:00:33 | [diff] [blame] | 21 | #include "chrome/browser/profiles/profile_avatar_icon_util.h" |
Mikel Astiz | bee274d | 2024-12-16 19:54:31 | [diff] [blame] | 22 | #include "google_apis/gaia/gaia_id.h" |
Alex Ilin | 1020018 | 2020-07-29 14:19:37 | [diff] [blame] | 23 | #include "third_party/skia/include/core/SkColor.h" |
Alex Ilin | a67b047 | 2020-08-06 12:11:10 | [diff] [blame] | 24 | #include "ui/gfx/image/image.h" |
anthonyvd | b50a7cb | 2015-07-13 15:42:03 | [diff] [blame] | 25 | |
Thomas Tangl | c67ace4 | 2019-06-07 19:31:50 | [diff] [blame] | 26 | class PrefRegistrySimple; |
WC Leung | 9fd803f | 2017-08-23 08:27:13 | [diff] [blame] | 27 | class PrefService; |
Alex Ilin | bb08a0d | 2021-07-08 09:37:24 | [diff] [blame] | 28 | class ProfileAttributesStorage; |
Jan Krcal | 5fa5da8 | 2020-11-11 16:10:57 | [diff] [blame] | 29 | struct ProfileThemeColors; |
anthonyvd | b50a7cb | 2015-07-13 15:42:03 | [diff] [blame] | 30 | |
Amelie Schneider | 7b036dd | 2024-07-15 11:08:48 | [diff] [blame] | 31 | inline constexpr int kDefaultSizeForPlaceholderAvatar = 74; |
32 | |||||
Monica Basta | 9ca4704 | 2019-09-16 17:36:51 | [diff] [blame] | 33 | enum class SigninState { |
34 | kNotSignedIn, | ||||
35 | kSignedInWithUnconsentedPrimaryAccount, | ||||
36 | kSignedInWithConsentedPrimaryAccount, | ||||
37 | }; | ||||