Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7293)

Unified Diff: chrome/browser/chromeos/login/user.h

Issue 8976012: chromeos: Implement power button animations for Aura. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update copyright year to 2012 Created 8 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/chromeos/login/screen_locker.h ('k') | chrome/browser/chromeos/login/user.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/user.h
diff --git a/chrome/browser/chromeos/login/user.h b/chrome/browser/chromeos/login/user.h
index 78f8344c8157e0e82a2dc4821bbc514023827b05..45972991508206591671f05c8d3dd555b3b1f413 100644
--- a/chrome/browser/chromeos/login/user.h
+++ b/chrome/browser/chromeos/login/user.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 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.
@@ -62,11 +62,13 @@ class User {
// The displayed (non-canonical) user email.
std::string display_email() const { return display_email_; }
+ bool is_guest() const { return is_guest_; }
+
private:
friend class UserManager;
// Do not allow anyone else to create new User instances.
- explicit User(const std::string& email);
+ User(const std::string& email, bool is_guest);
~User();
// Setters are private so only UserManager can call them.
@@ -96,6 +98,9 @@ class User {
// True if current user image is a stub set by a |SetStubImage| call.
bool image_is_stub_;
+ // Is this a guest account?
+ bool is_guest_;
+
DISALLOW_COPY_AND_ASSIGN(User);
};
« no previous file with comments | « chrome/browser/chromeos/login/screen_locker.h ('k') | chrome/browser/chromeos/login/user.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698