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

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: . 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 : ALLOW_THIS_IN_INITIALIZER_LIST(
sky 2012/08/30 19:31:05 Remove ALLOW_THIS_IN...
Emmanuel Saint-loubert-Bié 2012/08/30 21:02:52 Done.
192 image_loader_(new UserImageLoader(ImageDecoder::DEFAULT_CODEC))),
192 logged_in_user_(NULL), 193 logged_in_user_(NULL),
193 session_started_(false), 194 session_started_(false),
194 is_current_user_owner_(false), 195 is_current_user_owner_(false),
195 is_current_user_new_(false), 196 is_current_user_new_(false),
196 is_current_user_ephemeral_(false), 197 is_current_user_ephemeral_(false),
197 ephemeral_users_enabled_(false), 198 ephemeral_users_enabled_(false),
198 observed_sync_service_(NULL), 199 observed_sync_service_(NULL),
199 last_image_set_async_(false), 200 last_image_set_async_(false),
200 downloaded_profile_image_data_url_(chrome::kAboutBlankURL), 201 downloaded_profile_image_data_url_(chrome::kAboutBlankURL),
201 downloading_profile_image_(false) { 202 downloading_profile_image_(false) {
(...skipping 1180 matching lines...) Expand 10 before | Expand all | Expand 10 after
1382 BrowserThread::PostTask( 1383 BrowserThread::PostTask(
1383 BrowserThread::FILE, 1384 BrowserThread::FILE,
1384 FROM_HERE, 1385 FROM_HERE,
1385 base::Bind(&UserManagerImpl::DeleteUserImage, 1386 base::Bind(&UserManagerImpl::DeleteUserImage,
1386 base::Unretained(this), 1387 base::Unretained(this),
1387 image_path)); 1388 image_path));
1388 } 1389 }
1389 } 1390 }
1390 1391
1391 } // namespace chromeos 1392 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698