1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
ash / webui / personalization_app / personalization_app_user_provider.h [blame]
// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef ASH_WEBUI_PERSONALIZATION_APP_PERSONALIZATION_APP_USER_PROVIDER_H_
#define ASH_WEBUI_PERSONALIZATION_APP_PERSONALIZATION_APP_USER_PROVIDER_H_
#include "ash/webui/personalization_app/mojom/personalization_app.mojom.h"
#include "mojo/public/cpp/bindings/pending_receiver.h"
namespace ash::personalization_app {
class PersonalizationAppUserProvider : public mojom::UserProvider {
public:
virtual void BindInterface(
mojo::PendingReceiver<mojom::UserProvider> receiver) = 0;
// Returns value of `kUserAvatarCustomizationSelectorsEnabled` pref. Avatar
// customization options that send data to google are only allowed if this
// pref is true.
virtual bool IsCustomizationSelectorsPrefEnabled() = 0;
};
} // namespace ash::personalization_app
#endif // ASH_WEBUI_PERSONALIZATION_APP_PERSONALIZATION_APP_USER_PROVIDER_H_