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

Side by Side Diff: extensions/browser/image_loader_unittest.cc

Issue 1549643002: Switch to standard integer types in extensions/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@clean
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
« no previous file with comments | « extensions/browser/image_loader.cc ('k') | extensions/browser/info_map.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "extensions/browser/image_loader.h" 5 #include "extensions/browser/image_loader.h"
6 6
7 #include <stddef.h>
8
7 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
8 #include "base/json/json_file_value_serializer.h" 10 #include "base/json/json_file_value_serializer.h"
11 #include "base/macros.h"
9 #include "base/message_loop/message_loop.h" 12 #include "base/message_loop/message_loop.h"
10 #include "base/path_service.h" 13 #include "base/path_service.h"
11 #include "base/strings/string_util.h" 14 #include "base/strings/string_util.h"
12 #include "content/public/browser/notification_service.h" 15 #include "content/public/browser/notification_service.h"
13 #include "content/public/test/test_browser_context.h" 16 #include "content/public/test/test_browser_context.h"
14 #include "content/public/test/test_browser_thread.h" 17 #include "content/public/test/test_browser_thread.h"
15 #include "extensions/browser/extension_registry.h" 18 #include "extensions/browser/extension_registry.h"
16 #include "extensions/browser/extensions_browser_client.h" 19 #include "extensions/browser/extensions_browser_client.h"
17 #include "extensions/browser/extensions_test.h" 20 #include "extensions/browser/extensions_test.h"
18 #include "extensions/common/constants.h" 21 #include "extensions/common/constants.h"
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 304
302 const gfx::ImageSkiaRep* img_rep1 = &image_reps[0]; 305 const gfx::ImageSkiaRep* img_rep1 = &image_reps[0];
303 const gfx::ImageSkiaRep* img_rep2 = &image_reps[1]; 306 const gfx::ImageSkiaRep* img_rep2 = &image_reps[1];
304 EXPECT_EQ(extension_misc::EXTENSION_ICON_BITTY, img_rep1->pixel_width()); 307 EXPECT_EQ(extension_misc::EXTENSION_ICON_BITTY, img_rep1->pixel_width());
305 EXPECT_EQ(1.0f, img_rep1->scale()); 308 EXPECT_EQ(1.0f, img_rep1->scale());
306 EXPECT_EQ(extension_misc::EXTENSION_ICON_SMALLISH, img_rep2->pixel_width()); 309 EXPECT_EQ(extension_misc::EXTENSION_ICON_SMALLISH, img_rep2->pixel_width());
307 EXPECT_EQ(2.0f, img_rep2->scale()); 310 EXPECT_EQ(2.0f, img_rep2->scale());
308 } 311 }
309 312
310 } // namespace extensions 313 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/browser/image_loader.cc ('k') | extensions/browser/info_map.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698