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 "ash/desktop_background/desktop_background_controller_test_api.h" | 5 #include "ash/desktop_background/desktop_background_controller_test_api.h" |
6 | 6 |
7 namespace ash { | 7 namespace ash { |
8 | 8 |
9 DesktopBackgroundController::TestAPI::TestAPI( | 9 DesktopBackgroundController::TestAPI::TestAPI( |
10 DesktopBackgroundController* controller) | 10 DesktopBackgroundController* controller) |
11 : controller_(controller) { | 11 : controller_(controller) {} |
12 } | |
13 | 12 |
14 void DesktopBackgroundController::TestAPI::set_wallpaper_reload_delay_for_test( | 13 void DesktopBackgroundController::TestAPI::set_wallpaper_reload_delay_for_test( |
15 bool value) { | 14 bool value) { |
16 controller_->set_wallpaper_reload_delay_for_test(value); | 15 controller_->set_wallpaper_reload_delay_for_test(value); |
17 } | 16 } |
18 | 17 |
19 } // namespace ash | 18 } // namespace ash |
OLD | NEW |