OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/users/avatar/user_image_manager_test_uti
l.h" | 5 #include "chrome/browser/chromeos/login/users/avatar/user_image_manager_test_uti
l.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 #include <stdint.h> |
| 9 |
7 #include <string> | 10 #include <string> |
8 | 11 |
9 #include "base/files/file_util.h" | 12 #include "base/files/file_util.h" |
10 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
11 #include "base/thread_task_runner_handle.h" | 14 #include "base/thread_task_runner_handle.h" |
12 #include "third_party/skia/include/core/SkBitmap.h" | 15 #include "third_party/skia/include/core/SkBitmap.h" |
13 #include "ui/gfx/image/image_skia.h" | 16 #include "ui/gfx/image/image_skia.h" |
14 #include "ui/gfx/image/image_skia_rep.h" | 17 #include "ui/gfx/image/image_skia_rep.h" |
15 | 18 |
16 namespace chromeos { | 19 namespace chromeos { |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 new gfx::ImageSkia(gfx::ImageSkiaRep(decoded_image, 1.0f))); | 67 new gfx::ImageSkia(gfx::ImageSkiaRep(decoded_image, 1.0f))); |
65 run_loop_.Quit(); | 68 run_loop_.Quit(); |
66 } | 69 } |
67 | 70 |
68 void ImageLoader::OnDecodeImageFailed() { | 71 void ImageLoader::OnDecodeImageFailed() { |
69 run_loop_.Quit(); | 72 run_loop_.Quit(); |
70 } | 73 } |
71 | 74 |
72 } // namespace test | 75 } // namespace test |
73 } // namespace chromeos | 76 } // namespace chromeos |
OLD | NEW |