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

Side by Side Diff: components/wallpaper/wallpaper_resizer_unittest.cc

Issue 1549993003: Switch to standard integer types in components/, part 4 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 <stdint.h>
6
7 #include "base/macros.h"
5 #include "base/message_loop/message_loop.h" 8 #include "base/message_loop/message_loop.h"
6 #include "base/test/sequenced_worker_pool_owner.h" 9 #include "base/test/sequenced_worker_pool_owner.h"
7 #include "components/wallpaper/wallpaper_resizer.h" 10 #include "components/wallpaper/wallpaper_resizer.h"
8 #include "components/wallpaper/wallpaper_resizer_observer.h" 11 #include "components/wallpaper/wallpaper_resizer_observer.h"
9 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
10 #include "ui/gfx/image/image_skia_rep.h" 13 #include "ui/gfx/image/image_skia_rep.h"
11 14
12 namespace { 15 namespace {
13 16
14 const int kTestImageWidth = 5; 17 const int kTestImageWidth = 5;
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 worker_pool()); 148 worker_pool());
146 EXPECT_EQ(WallpaperResizer::GetImageId(image), resizer.original_image_id()); 149 EXPECT_EQ(WallpaperResizer::GetImageId(image), resizer.original_image_id());
147 resizer.AddObserver(this); 150 resizer.AddObserver(this);
148 resizer.StartResize(); 151 resizer.StartResize();
149 WaitForResize(); 152 WaitForResize();
150 resizer.RemoveObserver(this); 153 resizer.RemoveObserver(this);
151 EXPECT_EQ(WallpaperResizer::GetImageId(image), resizer.original_image_id()); 154 EXPECT_EQ(WallpaperResizer::GetImageId(image), resizer.original_image_id());
152 } 155 }
153 156
154 } // namespace ash 157 } // namespace ash
OLDNEW
« no previous file with comments | « components/wallpaper/wallpaper_resizer.h ('k') | components/web_cache/browser/web_cache_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698