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/common/ash_constants.h" |
10 #include "ash/common/wallpaper/wallpaper_controller.h" | 10 #include "ash/common/wallpaper/wallpaper_controller.h" |
11 #include "ash/common/wm_shell.h" | 11 #include "ash/common/wm_shell.h" |
12 #include "base/bind.h" | 12 #include "base/bind.h" |
13 #include "base/bind_helpers.h" | 13 #include "base/bind_helpers.h" |
14 #include "base/command_line.h" | 14 #include "base/command_line.h" |
15 #include "base/files/file_path.h" | 15 #include "base/files/file_path.h" |
16 #include "base/logging.h" | 16 #include "base/logging.h" |
17 #include "base/metrics/histogram_macros.h" | 17 #include "base/metrics/histogram_macros.h" |
18 #include "base/path_service.h" | 18 #include "base/path_service.h" |
19 #include "base/sha1.h" | 19 #include "base/sha1.h" |
20 #include "base/strings/string_number_conversions.h" | 20 #include "base/strings/string_number_conversions.h" |
21 #include "base/sys_info.h" | 21 #include "base/sys_info.h" |
| 22 #include "base/threading/thread_task_runner_handle.h" |
22 #include "base/threading/worker_pool.h" | 23 #include "base/threading/worker_pool.h" |
23 #include "base/time/time.h" | 24 #include "base/time/time.h" |
24 #include "base/trace_event/trace_event.h" | 25 #include "base/trace_event/trace_event.h" |
25 #include "base/values.h" | 26 #include "base/values.h" |
26 #include "chrome/browser/browser_process.h" | 27 #include "chrome/browser/browser_process.h" |
27 #include "chrome/browser/chrome_notification_types.h" | 28 #include "chrome/browser/chrome_notification_types.h" |
28 #include "chrome/browser/chromeos/customization/customization_document.h" | 29 #include "chrome/browser/chromeos/customization/customization_document.h" |
29 #include "chrome/browser/chromeos/extensions/wallpaper_manager_util.h" | 30 #include "chrome/browser/chromeos/extensions/wallpaper_manager_util.h" |
30 #include "chrome/browser/chromeos/login/startup_utils.h" | 31 #include "chrome/browser/chromeos/login/startup_utils.h" |
31 #include "chrome/browser/chromeos/login/users/avatar/user_image_loader.h" | 32 #include "chrome/browser/chromeos/login/users/avatar/user_image_loader.h" |
(...skipping 1373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1405 | 1406 |
1406 UMA_HISTOGRAM_ENUMERATION( | 1407 UMA_HISTOGRAM_ENUMERATION( |
1407 "Ash.Wallpaper.Apps", | 1408 "Ash.Wallpaper.Apps", |
1408 wallpaper_manager_util::ShouldUseAndroidWallpapersApp(profile) | 1409 wallpaper_manager_util::ShouldUseAndroidWallpapersApp(profile) |
1409 ? WALLPAPERS_APP_ANDROID | 1410 ? WALLPAPERS_APP_ANDROID |
1410 : WALLPAPERS_PICKER_APP_CHROMEOS, | 1411 : WALLPAPERS_PICKER_APP_CHROMEOS, |
1411 WALLPAPERS_APPS_NUM); | 1412 WALLPAPERS_APPS_NUM); |
1412 } | 1413 } |
1413 | 1414 |
1414 } // namespace chromeos | 1415 } // namespace chromeos |
OLD | NEW |