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

Unified Diff: chrome/browser/chromeos/login/wallpaper_manager.cc

Issue 279703005: Remove debug in WallpaperManagerBrowserTest.DisplayChange. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Created 6 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/login/wallpaper_manager.cc
diff --git a/chrome/browser/chromeos/login/wallpaper_manager.cc b/chrome/browser/chromeos/login/wallpaper_manager.cc
index 948baae6be7eef4ce2fb66ad2148244e2c393d14..7b2c8584c3dc50c3304b048d3753228e76a993ac 100644
--- a/chrome/browser/chromeos/login/wallpaper_manager.cc
+++ b/chrome/browser/chromeos/login/wallpaper_manager.cc
@@ -827,26 +827,6 @@ WallpaperManager::GetAppropriateResolution() {
: WALLPAPER_RESOLUTION_SMALL;
}
-WallpaperManager::WallpaperResolution
-WallpaperManager::GetAppropriateResolutionForTesting() {
- gfx::Size size =
- ash::DesktopBackgroundController::GetMaxDisplaySizeInNative();
- const WallpaperResolution result = (size.width() > kSmallWallpaperMaxWidth ||
- size.height() > kSmallWallpaperMaxHeight)
- ? WALLPAPER_RESOLUTION_LARGE
- : WALLPAPER_RESOLUTION_SMALL;
-
- LOG(ERROR) << "WallpaperManager::GetAppropriateResolution(): width()="
- << size.width()
- << " vs kSmallWallpaperMaxWidth=" << kSmallWallpaperMaxWidth
- << ", height()=" << size.height()
- << " vs kSmallWallpaperMaxHeight=" << kSmallWallpaperMaxHeight
- << ", result = " << (result == WALLPAPER_RESOLUTION_LARGE
- ? "WALLPAPER_RESOLUTION_LARGE"
- : "WALLPAPER_RESOLUTION_SMALL");
- return result;
-}
-
void WallpaperManager::SetPolicyControlledWallpaper(
const std::string& user_id,
const UserImage& user_image) {
« no previous file with comments | « chrome/browser/chromeos/login/wallpaper_manager.h ('k') | chrome/browser/chromeos/login/wallpaper_manager_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698