blob: d5e1537a39bd9144ba36989c6d2655ef5452daa0 (
plain)
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
27
28
29
|
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_SIGNIN_INTERNAL_IDENTITY_MANAGER_PRIMARY_ACCOUNT_POLICY_MANAGER_H_
#define COMPONENTS_SIGNIN_INTERNAL_IDENTITY_MANAGER_PRIMARY_ACCOUNT_POLICY_MANAGER_H_
#include "base/macros.h"
class PrefService;
class PrimaryAccountManager;
class PrimaryAccountPolicyManager {
public:
PrimaryAccountPolicyManager() = default;
virtual ~PrimaryAccountPolicyManager() = default;
// On platforms where PrimaryAccountManager is responsible for dealing with
// invalid username policy updates, we need to check this during
// initialization and sign the user out.
virtual void InitializePolicy(
PrefService* local_state,
PrimaryAccountManager* primary_account_manager) = 0;
private:
DISALLOW_COPY_AND_ASSIGN(PrimaryAccountPolicyManager);
};
#endif // COMPONENTS_SIGNIN_INTERNAL_IDENTITY_MANAGER_PRIMARY_ACCOUNT_POLICY_MANAGER_H_
|