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