Index: content/browser/manifest/manifest_icon_selector_unittest.cc |
diff --git a/chrome/browser/manifest/manifest_icon_selector_unittest.cc b/content/browser/manifest/manifest_icon_selector_unittest.cc |
similarity index 98% |
rename from chrome/browser/manifest/manifest_icon_selector_unittest.cc |
rename to content/browser/manifest/manifest_icon_selector_unittest.cc |
index f819b766afd77d49a8901db2c6e1fe1317170e8b..8d96e35c929c643ef047197b54404401e8e72773 100644 |
--- a/chrome/browser/manifest/manifest_icon_selector_unittest.cc |
+++ b/content/browser/manifest/manifest_icon_selector_unittest.cc |
@@ -2,7 +2,7 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "chrome/browser/manifest/manifest_icon_selector.h" |
+#include "content/public/browser/manifest_icon_selector.h" |
#include <string> |
#include <vector> |
@@ -11,6 +11,8 @@ |
#include "base/strings/utf_string_conversions.h" |
#include "testing/gtest/include/gtest/gtest.h" |
+namespace content { |
+ |
using IconPurpose = content::Manifest::Icon::IconPurpose; |
namespace { |
@@ -106,8 +108,8 @@ TEST(ManifestIconSelector, PurposeFiltering) { |
sizes_144.push_back(gfx::Size(144, 144)); |
std::vector<content::Manifest::Icon> icons; |
- icons.push_back( |
- CreateIcon("http://foo.com/icon_48.png", "", sizes_48, IconPurpose::BADGE)); |
+ icons.push_back(CreateIcon("http://foo.com/icon_48.png", "", sizes_48, |
+ IconPurpose::BADGE)); |
icons.push_back( |
CreateIcon("http://foo.com/icon_96.png", "", sizes_96, IconPurpose::ANY)); |
icons.push_back(CreateIcon("http://foo.com/icon_144.png", "", sizes_144, |
@@ -117,8 +119,8 @@ TEST(ManifestIconSelector, PurposeFiltering) { |
icons, 48, kMinimumIconSize, IconPurpose::BADGE); |
EXPECT_EQ("http://foo.com/icon_48.png", url.spec()); |
- url = ManifestIconSelector::FindBestMatchingIcon( |
- icons, 48, kMinimumIconSize, IconPurpose::ANY); |
+ url = ManifestIconSelector::FindBestMatchingIcon(icons, 48, kMinimumIconSize, |
+ IconPurpose::ANY); |
EXPECT_EQ("http://foo.com/icon_96.png", url.spec()); |
url = ManifestIconSelector::FindBestMatchingIcon(icons, 96, kMinimumIconSize, |
@@ -493,3 +495,5 @@ TEST(ManifestIconSelector, UseAnyIfNoIdealSize) { |
EXPECT_EQ("http://foo.com/icon.png", url.spec()); |
} |
} |
+ |
+} // namespace content |