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/ash_constants.h" | 9 #include "ash/ash_constants.h" |
10 #include "ash/public/interfaces/constants.mojom.h" | 10 #include "ash/public/interfaces/constants.mojom.h" |
11 #include "ash/shell.h" | 11 #include "ash/shell.h" |
12 #include "ash/wallpaper/wallpaper_controller.h" | 12 #include "ash/wallpaper/wallpaper_controller.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/memory/ptr_util.h" | 18 #include "base/memory/ptr_util.h" |
19 #include "base/metrics/histogram_macros.h" | 19 #include "base/metrics/histogram_macros.h" |
20 #include "base/path_service.h" | 20 #include "base/path_service.h" |
| 21 #include "base/sequenced_task_runner.h" |
21 #include "base/sha1.h" | 22 #include "base/sha1.h" |
22 #include "base/strings/string_number_conversions.h" | 23 #include "base/strings/string_number_conversions.h" |
23 #include "base/sys_info.h" | 24 #include "base/sys_info.h" |
24 #include "base/task_scheduler/post_task.h" | 25 #include "base/task_scheduler/post_task.h" |
25 #include "base/threading/thread_task_runner_handle.h" | 26 #include "base/threading/thread_task_runner_handle.h" |
26 #include "base/time/time.h" | 27 #include "base/time/time.h" |
27 #include "base/trace_event/trace_event.h" | 28 #include "base/trace_event/trace_event.h" |
28 #include "base/values.h" | 29 #include "base/values.h" |
29 #include "chrome/browser/browser_process.h" | 30 #include "chrome/browser/browser_process.h" |
30 #include "chrome/browser/chrome_notification_types.h" | 31 #include "chrome/browser/chrome_notification_types.h" |
(...skipping 1355 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1386 | 1387 |
1387 UMA_HISTOGRAM_ENUMERATION( | 1388 UMA_HISTOGRAM_ENUMERATION( |
1388 "Ash.Wallpaper.Apps", | 1389 "Ash.Wallpaper.Apps", |
1389 wallpaper_manager_util::ShouldUseAndroidWallpapersApp(profile) | 1390 wallpaper_manager_util::ShouldUseAndroidWallpapersApp(profile) |
1390 ? WALLPAPERS_APP_ANDROID | 1391 ? WALLPAPERS_APP_ANDROID |
1391 : WALLPAPERS_PICKER_APP_CHROMEOS, | 1392 : WALLPAPERS_PICKER_APP_CHROMEOS, |
1392 WALLPAPERS_APPS_NUM); | 1393 WALLPAPERS_APPS_NUM); |
1393 } | 1394 } |
1394 | 1395 |
1395 } // namespace chromeos | 1396 } // namespace chromeos |
OLD | NEW |