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

Side by Side Diff: chrome/browser/chromeos/login/user_manager_impl.h

Issue 9856016: Using random wallpaper until user select one (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 8 years, 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_IMPL_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_IMPL_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_IMPL_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_IMPL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 // Cached flag of whether the currently logged-in user existed before this 222 // Cached flag of whether the currently logged-in user existed before this
223 // login. 223 // login.
224 bool is_current_user_new_; 224 bool is_current_user_new_;
225 225
226 // Cached flag of whether the currently logged-in user is ephemeral. Storage 226 // Cached flag of whether the currently logged-in user is ephemeral. Storage
227 // of persistent information is avoided for such users by not adding them to 227 // of persistent information is avoided for such users by not adding them to
228 // the user list in local state, not downloading their custom user images and 228 // the user list in local state, not downloading their custom user images and
229 // mounting their cryptohomes using tmpfs. 229 // mounting their cryptohomes using tmpfs.
230 bool is_current_user_ephemeral_; 230 bool is_current_user_ephemeral_;
231 231
232 // Cache ephemeral user selected index in memory instead of local state.
233 int ephemeral_user_wallpaper_index_;
Nikita (slow) 2012/03/26 15:31:58 Do you think this may be moved somewhere to ash/*
bshe 2012/03/26 16:12:10 I can probably put it in ash/desktop_background/de
Nikita (slow) 2012/03/26 16:50:07 I've thought that ash should have something like c
234
232 // Cached flag indicating whether ephemeral users are enabled. Defaults to 235 // Cached flag indicating whether ephemeral users are enabled. Defaults to
233 // |false| if the value has not been read from trusted device policy yet. 236 // |false| if the value has not been read from trusted device policy yet.
234 bool ephemeral_users_enabled_; 237 bool ephemeral_users_enabled_;
235 238
236 // Cached name of device owner. Defaults to empty string if the value has not 239 // Cached name of device owner. Defaults to empty string if the value has not
237 // been read from trusted device policy yet. 240 // been read from trusted device policy yet.
238 std::string owner_email_; 241 std::string owner_email_;
239 242
240 content::NotificationRegistrar registrar_; 243 content::NotificationRegistrar registrar_;
241 244
(...skipping 23 matching lines...) Expand all
265 268
266 // Data URL for |downloaded_profile_image_|. 269 // Data URL for |downloaded_profile_image_|.
267 std::string downloaded_profile_image_data_url_; 270 std::string downloaded_profile_image_data_url_;
268 271
269 DISALLOW_COPY_AND_ASSIGN(UserManagerImpl); 272 DISALLOW_COPY_AND_ASSIGN(UserManagerImpl);
270 }; 273 };
271 274
272 } // namespace chromeos 275 } // namespace chromeos
273 276
274 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_IMPL_H_ 277 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/user_manager_impl.cc » ('j') | chrome/browser/chromeos/login/user_manager_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698