1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
ash / public / cpp / scoped_guest_button_blocker.h [blame]
// Copyright 2019 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_PUBLIC_CPP_SCOPED_GUEST_BUTTON_BLOCKER_H_
#define ASH_PUBLIC_CPP_SCOPED_GUEST_BUTTON_BLOCKER_H_
namespace ash {
// Class that temporarily disables the Browse as Guest login button on shelf.
class ScopedGuestButtonBlocker {
public:
ScopedGuestButtonBlocker(const ScopedGuestButtonBlocker&) = delete;
ScopedGuestButtonBlocker& operator=(const ScopedGuestButtonBlocker&) = delete;
virtual ~ScopedGuestButtonBlocker() = default;
protected:
ScopedGuestButtonBlocker() = default;
};
} // namespace ash
#endif // ASH_PUBLIC_CPP_SCOPED_GUEST_BUTTON_BLOCKER_H_