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.h" | 5 #include "chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager.h" |
6 | 6 |
7 #include <utility> | 7 #include <utility> |
8 | 8 |
9 #include "ash/common/ash_constants.h" | 9 #include "ash/ash_constants.h" |
10 #include "ash/common/wallpaper/wallpaper_controller.h" | |
11 #include "ash/common/wm_shell.h" | |
12 #include "ash/public/interfaces/constants.mojom.h" | 10 #include "ash/public/interfaces/constants.mojom.h" |
| 11 #include "ash/wallpaper/wallpaper_controller.h" |
| 12 #include "ash/wm_shell.h" |
13 #include "base/bind.h" | 13 #include "base/bind.h" |
14 #include "base/bind_helpers.h" | 14 #include "base/bind_helpers.h" |
15 #include "base/command_line.h" | 15 #include "base/command_line.h" |
16 #include "base/files/file_path.h" | 16 #include "base/files/file_path.h" |
17 #include "base/logging.h" | 17 #include "base/logging.h" |
18 #include "base/metrics/histogram_macros.h" | 18 #include "base/metrics/histogram_macros.h" |
19 #include "base/path_service.h" | 19 #include "base/path_service.h" |
20 #include "base/sha1.h" | 20 #include "base/sha1.h" |
21 #include "base/strings/string_number_conversions.h" | 21 #include "base/strings/string_number_conversions.h" |
22 #include "base/sys_info.h" | 22 #include "base/sys_info.h" |
(...skipping 1384 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1407 | 1407 |
1408 UMA_HISTOGRAM_ENUMERATION( | 1408 UMA_HISTOGRAM_ENUMERATION( |
1409 "Ash.Wallpaper.Apps", | 1409 "Ash.Wallpaper.Apps", |
1410 wallpaper_manager_util::ShouldUseAndroidWallpapersApp(profile) | 1410 wallpaper_manager_util::ShouldUseAndroidWallpapersApp(profile) |
1411 ? WALLPAPERS_APP_ANDROID | 1411 ? WALLPAPERS_APP_ANDROID |
1412 : WALLPAPERS_PICKER_APP_CHROMEOS, | 1412 : WALLPAPERS_PICKER_APP_CHROMEOS, |
1413 WALLPAPERS_APPS_NUM); | 1413 WALLPAPERS_APPS_NUM); |
1414 } | 1414 } |
1415 | 1415 |
1416 } // namespace chromeos | 1416 } // namespace chromeos |
OLD | NEW |