Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(547)

Side by Side Diff: chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager.cc

Issue 2763103002: Move ImageDecoder to components/image_fetcher/content (Closed)
Patch Set: Rebased. Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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"
(...skipping 17 matching lines...) Expand all
28 #include "base/values.h" 28 #include "base/values.h"
29 #include "chrome/browser/browser_process.h" 29 #include "chrome/browser/browser_process.h"
30 #include "chrome/browser/chrome_notification_types.h" 30 #include "chrome/browser/chrome_notification_types.h"
31 #include "chrome/browser/chromeos/customization/customization_document.h" 31 #include "chrome/browser/chromeos/customization/customization_document.h"
32 #include "chrome/browser/chromeos/extensions/wallpaper_manager_util.h" 32 #include "chrome/browser/chromeos/extensions/wallpaper_manager_util.h"
33 #include "chrome/browser/chromeos/login/startup_utils.h" 33 #include "chrome/browser/chromeos/login/startup_utils.h"
34 #include "chrome/browser/chromeos/login/users/avatar/user_image_loader.h" 34 #include "chrome/browser/chromeos/login/users/avatar/user_image_loader.h"
35 #include "chrome/browser/chromeos/login/wizard_controller.h" 35 #include "chrome/browser/chromeos/login/wizard_controller.h"
36 #include "chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h" 36 #include "chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h"
37 #include "chrome/browser/chromeos/profiles/profile_helper.h" 37 #include "chrome/browser/chromeos/profiles/profile_helper.h"
38 #include "chrome/browser/image_decoder.h"
39 #include "chrome/browser/ui/ash/ash_util.h" 38 #include "chrome/browser/ui/ash/ash_util.h"
40 #include "chrome/common/chrome_paths.h" 39 #include "chrome/common/chrome_paths.h"
41 #include "chrome/common/chrome_switches.h" 40 #include "chrome/common/chrome_switches.h"
42 #include "chrome/common/pref_names.h" 41 #include "chrome/common/pref_names.h"
43 #include "chromeos/chromeos_switches.h" 42 #include "chromeos/chromeos_switches.h"
44 #include "chromeos/cryptohome/system_salt_getter.h" 43 #include "chromeos/cryptohome/system_salt_getter.h"
44 #include "components/image_fetcher/content/image_decoder.h"
45 #include "components/prefs/pref_registry_simple.h" 45 #include "components/prefs/pref_registry_simple.h"
46 #include "components/prefs/pref_service.h" 46 #include "components/prefs/pref_service.h"
47 #include "components/prefs/scoped_user_pref_update.h" 47 #include "components/prefs/scoped_user_pref_update.h"
48 #include "components/signin/core/account_id/account_id.h" 48 #include "components/signin/core/account_id/account_id.h"
49 #include "components/user_manager/known_user.h" 49 #include "components/user_manager/known_user.h"
50 #include "components/user_manager/user_names.h" 50 #include "components/user_manager/user_names.h"
51 #include "components/user_manager/user_type.h" 51 #include "components/user_manager/user_type.h"
52 #include "components/wallpaper/wallpaper_files_id.h" 52 #include "components/wallpaper/wallpaper_files_id.h"
53 #include "components/wallpaper/wallpaper_layout.h" 53 #include "components/wallpaper/wallpaper_layout.h"
54 #include "content/public/browser/browser_thread.h" 54 #include "content/public/browser/browser_thread.h"
(...skipping 1352 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698