OLD | NEW |
(Empty) | |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "ash/test/test_user_wallpaper_delegate.h" |
| 6 |
| 7 namespace ash { |
| 8 namespace test { |
| 9 |
| 10 void TestUserWallpaperDelegate::UpdateWallpaper() { |
| 11 DefaultUserWallpaperDelegate::UpdateWallpaper(); |
| 12 update_wallpaper_count_ ++; |
| 13 } |
| 14 |
| 15 int TestUserWallpaperDelegate::GetUpdateWallpaperCountAndReset() { |
| 16 int count = update_wallpaper_count_; |
| 17 update_wallpaper_count_ = 0; |
| 18 return count; |
| 19 } |
| 20 |
| 21 } // namespace test |
| 22 } // namespace ash |
OLD | NEW |