| 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/wallpaper/wallpaper_manager_test_u
     tils.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/users/wallpaper/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/geometry/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 | 
|   26     : public WallpaperManager::Observer { |   26     : public WallpaperManager::Observer { | 
|   27  public: |   27  public: | 
|   28   explicit TestWallpaperObserverPendingListEmpty( |   28   explicit TestWallpaperObserverPendingListEmpty( | 
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  198                             kWallpaperSize, |  198                             kWallpaperSize, | 
|  199                             kLargeGuestWallpaperColor)); |  199                             kLargeGuestWallpaperColor)); | 
|  200  |  200  | 
|  201   command_line->reset(new base::CommandLine(options)); |  201   command_line->reset(new base::CommandLine(options)); | 
|  202   WallpaperManager::Get()->SetCommandLineForTesting(command_line->get()); |  202   WallpaperManager::Get()->SetCommandLineForTesting(command_line->get()); | 
|  203 } |  203 } | 
|  204  |  204  | 
|  205 }  // namespace wallpaper_manager_test_utils |  205 }  // namespace wallpaper_manager_test_utils | 
|  206  |  206  | 
|  207 }  // namespace chromeos |  207 }  // namespace chromeos | 
| OLD | NEW |