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

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

Issue 11968044: Fix login visual hitch on chromebook (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 11 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) 2013 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_image_manager_impl.h" 5 #include "chrome/browser/chromeos/login/user_image_manager_impl.h"
6 6
7 #include "base/debug/trace_event.h" 7 #include "base/debug/trace_event.h"
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/file_path.h" 9 #include "base/file_path.h"
10 #include "base/file_util.h" 10 #include "base/file_util.h"
11 #include "base/logging.h" 11 #include "base/logging.h"
(...skipping 728 matching lines...) Expand 10 before | Expand all | Expand 10 after
740 if (prefs_images_update->GetDictionaryWithoutPathExpansion( 740 if (prefs_images_update->GetDictionaryWithoutPathExpansion(
741 username, &image_properties)) { 741 username, &image_properties)) {
742 std::string image_path; 742 std::string image_path;
743 image_properties->GetString(kImagePathNodeName, &image_path); 743 image_properties->GetString(kImagePathNodeName, &image_path);
744 prefs_images_update->RemoveWithoutPathExpansion(username, NULL); 744 prefs_images_update->RemoveWithoutPathExpansion(username, NULL);
745 DeleteImageFile(image_path); 745 DeleteImageFile(image_path);
746 } 746 }
747 } 747 }
748 748
749 } // namespace chromeos 749 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/user_image_manager_impl.h ('k') | chrome/browser/chromeos/login/user_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698