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

Unified Diff: chrome/common/extensions/extension_unittest.cc

Issue 10977073: Delete some unused code found by -Wunused-function (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: leiz Created 8 years, 3 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/common/extensions/extension_unittest.cc
diff --git a/chrome/common/extensions/extension_unittest.cc b/chrome/common/extensions/extension_unittest.cc
index 8306ff60dda0e93ce06324a27130e622a131f2d9..e9bfc4f5d6675400fc46d065e3ef1cce384d63b9 100644
--- a/chrome/common/extensions/extension_unittest.cc
+++ b/chrome/common/extensions/extension_unittest.cc
@@ -46,16 +46,7 @@ namespace errors = extension_manifest_errors;
namespace {
-void CompareLists(const std::vector<std::string>& expected,
- const std::vector<std::string>& actual) {
- ASSERT_EQ(expected.size(), actual.size());
-
- for (size_t i = 0; i < expected.size(); ++i) {
- EXPECT_EQ(expected[i], actual[i]);
- }
-}
-
-static scoped_refptr<Extension> LoadManifestUnchecked(
+scoped_refptr<Extension> LoadManifestUnchecked(
const std::string& dir,
const std::string& test_file,
Extension::Location location,
« no previous file with comments | « chrome/browser/webdata/keyword_table.cc ('k') | chrome/common/extensions/permissions/permission_set_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698