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/wallpaper_manager_test_utils.h" | 5 #include "chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager_test_u
tils.h" |
6 | 6 |
7 #include "ash/ash_switches.h" | 7 #include "ash/ash_switches.h" |
8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
9 #include "base/file_util.h" | 9 #include "base/file_util.h" |
10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
11 #include "base/files/scoped_temp_dir.h" | 11 #include "base/files/scoped_temp_dir.h" |
12 #include "base/logging.h" | 12 #include "base/logging.h" |
13 #include "base/run_loop.h" | 13 #include "base/run_loop.h" |
14 #include "base/time/time.h" | 14 #include "base/time/time.h" |
15 #include "chrome/browser/chromeos/login/wallpaper_manager.h" | 15 #include "chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager.h" |
16 #include "testing/gtest/include/gtest/gtest.h" | 16 #include "testing/gtest/include/gtest/gtest.h" |
17 #include "ui/gfx/codec/jpeg_codec.h" | 17 #include "ui/gfx/codec/jpeg_codec.h" |
18 #include "ui/gfx/point.h" | 18 #include "ui/gfx/point.h" |
19 #include "ui/gfx/rect.h" | 19 #include "ui/gfx/rect.h" |
20 | 20 |
21 namespace chromeos { | 21 namespace chromeos { |
22 | 22 |
23 namespace { | 23 namespace { |
24 | 24 |
25 class TestWallpaperObserverPendingListEmpty | 25 class TestWallpaperObserverPendingListEmpty |
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
200 kWallpaperSize, | 200 kWallpaperSize, |
201 kLargeGuestWallpaperColor)); | 201 kLargeGuestWallpaperColor)); |
202 | 202 |
203 command_line->reset(new base::CommandLine(options)); | 203 command_line->reset(new base::CommandLine(options)); |
204 WallpaperManager::Get()->SetCommandLineForTesting(command_line->get()); | 204 WallpaperManager::Get()->SetCommandLineForTesting(command_line->get()); |
205 } | 205 } |
206 | 206 |
207 } // namespace wallpaper_manager_test_utils | 207 } // namespace wallpaper_manager_test_utils |
208 | 208 |
209 } // namespace chromeos | 209 } // namespace chromeos |
OLD | NEW |