| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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/arc/arc_wallpaper_service.h" | 5 #include "chrome/browser/chromeos/arc/wallpaper/arc_wallpaper_service.h" |
| 6 | 6 |
| 7 #include <vector> | 7 #include <vector> |
| 8 | 8 |
| 9 #include "ash/common/wallpaper/wallpaper_controller.h" | 9 #include "ash/common/wallpaper/wallpaper_controller.h" |
| 10 #include "ash/common/wm_shell.h" | 10 #include "ash/common/wm_shell.h" |
| 11 #include "base/logging.h" | 11 #include "base/logging.h" |
| 12 #include "base/memory/ptr_util.h" | 12 #include "base/memory/ptr_util.h" |
| 13 #include "base/task_runner_util.h" | 13 #include "base/task_runner_util.h" |
| 14 #include "chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager.h" | 14 #include "chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager.h" |
| 15 #include "components/arc/arc_bridge_service.h" | 15 #include "components/arc/arc_bridge_service.h" |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 DCHECK_CURRENTLY_ON(content::BrowserThread::UI); | 139 DCHECK_CURRENTLY_ON(content::BrowserThread::UI); |
| 140 auto* wallpaper_instance = | 140 auto* wallpaper_instance = |
| 141 arc_bridge_service()->wallpaper()->GetInstanceForMethod( | 141 arc_bridge_service()->wallpaper()->GetInstanceForMethod( |
| 142 "OnWallpaperChanged", kMinOnWallpaperChangedVersion); | 142 "OnWallpaperChanged", kMinOnWallpaperChangedVersion); |
| 143 if (!wallpaper_instance) | 143 if (!wallpaper_instance) |
| 144 return; | 144 return; |
| 145 wallpaper_instance->OnWallpaperChanged(); | 145 wallpaper_instance->OnWallpaperChanged(); |
| 146 } | 146 } |
| 147 | 147 |
| 148 } // namespace arc | 148 } // namespace arc |
| OLD | NEW |