OLD | NEW |
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 Loading... |
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 |
OLD | NEW |