1// Copyright (c) 2010 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_CHROMEOS_LOGIN_AUTHENTICATION_NOTIFICATION_DETAILS_H_
6#define CHROME_BROWSER_CHROMEOS_LOGIN_AUTHENTICATION_NOTIFICATION_DETAILS_H_
7#pragma once
8
9// A class to hold the parameters we get back from an authentication attempt
10// through the login manager
11class AuthenticationNotificationDetails {
12 public:
13  explicit AuthenticationNotificationDetails(bool success) : success_(success) {
14  }
15
16  bool success() const { return success_; }
17
18 private:
19  bool success_;
20
21  DISALLOW_COPY_AND_ASSIGN(AuthenticationNotificationDetails);
22};
23
24#endif  // CHROME_BROWSER_CHROMEOS_LOGIN_AUTHENTICATION_NOTIFICATION_DETAILS_H_
25