Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / browser / chromeos / login / authentication_notification_details.h
blob4ad9f0dcecd828ab65b9822f6c64a3090aad2e0c
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.
5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_AUTHENTICATION_NOTIFICATION_DETAILS_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_AUTHENTICATION_NOTIFICATION_DETAILS_H_
8 // A class to hold the parameters we get back from an authentication attempt
9 // through the login manager
10 class AuthenticationNotificationDetails {
11 public:
12 explicit AuthenticationNotificationDetails(bool success) : success_(success) {
15 bool success() const { return success_; }
17 private:
18 bool success_;
20 DISALLOW_COPY_AND_ASSIGN(AuthenticationNotificationDetails);
23 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_AUTHENTICATION_NOTIFICATION_DETAILS_H_