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

Side by Side Diff: chrome/common/extensions/manifest_tests/extension_manifests_icons_unittest.cc

Issue 2546183004: Remove unused linked_ptr inclusion (Closed)
Patch Set: Created 4 years 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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 "base/memory/linked_ptr.h"
6 #include "chrome/common/extensions/manifest_tests/chrome_manifest_test.h" 5 #include "chrome/common/extensions/manifest_tests/chrome_manifest_test.h"
7 #include "extensions/common/constants.h" 6 #include "extensions/common/constants.h"
8 #include "extensions/common/extension.h" 7 #include "extensions/common/extension.h"
9 #include "extensions/common/extension_icon_set.h" 8 #include "extensions/common/extension_icon_set.h"
10 #include "extensions/common/manifest_handlers/icons_handler.h" 9 #include "extensions/common/manifest_handlers/icons_handler.h"
11 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
12 11
13 namespace extensions { 12 namespace extensions {
14 13
15 class IconsManifestTest : public ChromeManifestTest { 14 class IconsManifestTest : public ChromeManifestTest {
(...skipping 29 matching lines...) Expand all
45 ExtensionIconSet::MATCH_EXACTLY)); 44 ExtensionIconSet::MATCH_EXACTLY));
46 EXPECT_EQ("512.png", icons.Get(extension_misc::EXTENSION_ICON_GIGANTOR, 45 EXPECT_EQ("512.png", icons.Get(extension_misc::EXTENSION_ICON_GIGANTOR,
47 ExtensionIconSet::MATCH_EXACTLY)); 46 ExtensionIconSet::MATCH_EXACTLY));
48 47
49 // Any old size will be accepted. 48 // Any old size will be accepted.
50 EXPECT_EQ("300.png", IconsInfo::GetIcons(extension.get()) 49 EXPECT_EQ("300.png", IconsInfo::GetIcons(extension.get())
51 .Get(300, ExtensionIconSet::MATCH_EXACTLY)); 50 .Get(300, ExtensionIconSet::MATCH_EXACTLY));
52 } 51 }
53 52
54 } // namespace extensions 53 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698