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

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

Issue 10912019: Enable robust decoding of custom wallpaper and allow custom wallpaper on login page (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Check conflict. Created 8 years, 3 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 #include "chrome/browser/chromeos/login/user_manager_impl.h" 5 #include "chrome/browser/chromeos/login/user_manager_impl.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "ash/desktop_background/desktop_background_controller.h" 9 #include "ash/desktop_background/desktop_background_controller.h"
10 #include "ash/shell.h" 10 #include "ash/shell.h"
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 cryptohome::AsyncMethodCaller::GetInstance()->AsyncRemove( 181 cryptohome::AsyncMethodCaller::GetInstance()->AsyncRemove(
182 user_email, base::Bind(&OnRemoveUserComplete, user_email)); 182 user_email, base::Bind(&OnRemoveUserComplete, user_email));
183 183
184 if (delegate) 184 if (delegate)
185 delegate->OnUserRemoved(user_email); 185 delegate->OnUserRemoved(user_email);
186 } 186 }
187 187
188 } // namespace 188 } // namespace
189 189
190 UserManagerImpl::UserManagerImpl() 190 UserManagerImpl::UserManagerImpl()
191 : ALLOW_THIS_IN_INITIALIZER_LIST(image_loader_(new UserImageLoader)), 191 : image_loader_(new UserImageLoader(ImageDecoder::DEFAULT_CODEC)),
192 logged_in_user_(NULL), 192 logged_in_user_(NULL),
193 session_started_(false), 193 session_started_(false),
194 is_current_user_owner_(false), 194 is_current_user_owner_(false),
195 is_current_user_new_(false), 195 is_current_user_new_(false),
196 is_current_user_ephemeral_(false), 196 is_current_user_ephemeral_(false),
197 ephemeral_users_enabled_(false), 197 ephemeral_users_enabled_(false),
198 observed_sync_service_(NULL), 198 observed_sync_service_(NULL),
199 last_image_set_async_(false), 199 last_image_set_async_(false),
200 downloaded_profile_image_data_url_(chrome::kAboutBlankURL), 200 downloaded_profile_image_data_url_(chrome::kAboutBlankURL),
201 downloading_profile_image_(false) { 201 downloading_profile_image_(false) {
(...skipping 1186 matching lines...) Expand 10 before | Expand all | Expand 10 after
1388 BrowserThread::PostTask( 1388 BrowserThread::PostTask(
1389 BrowserThread::FILE, 1389 BrowserThread::FILE,
1390 FROM_HERE, 1390 FROM_HERE,
1391 base::Bind(&UserManagerImpl::DeleteUserImage, 1391 base::Bind(&UserManagerImpl::DeleteUserImage,
1392 base::Unretained(this), 1392 base::Unretained(this),
1393 image_path)); 1393 image_path));
1394 } 1394 }
1395 } 1395 }
1396 1396
1397 } // namespace chromeos 1397 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/user_image_loader.cc ('k') | chrome/browser/chromeos/login/wallpaper_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698