summaryrefslogtreecommitdiffstats
path: root/extensions/common/test_util.h
diff options
context:
space:
mode:
authorlimasdf <limasdf@gmail.com>2014-09-18 13:17:37 -0700
committerCommit bot <commit-bot@chromium.org>2014-09-18 20:17:48 +0000
commitf0dcf2f802455adebc73eca469d222d18e5560f9 (patch)
treedf941f2f09e9dc519bd4e543e0da5e6890aa7c40 /extensions/common/test_util.h
parent291fd86a7aabd22fb27409a56b34055e02ee0c62 (diff)
downloadchromium_src-f0dcf2f802455adebc73eca469d222d18e5560f9.zip
chromium_src-f0dcf2f802455adebc73eca469d222d18e5560f9.tar.gz
chromium_src-f0dcf2f802455adebc73eca469d222d18e5560f9.tar.bz2
Remove CreateEmptyExtension from extension_function_test_utils
because "extensions/common/test_util.h" has duplicate function. BUG=394840 Review URL: https://codereview.chromium.org/569493003 Cr-Commit-Position: refs/heads/master@{#295541}
Diffstat (limited to 'extensions/common/test_util.h')
-rw-r--r--extensions/common/test_util.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/extensions/common/test_util.h b/extensions/common/test_util.h
index 862c469..4eb4d2e 100644
--- a/extensions/common/test_util.h
+++ b/extensions/common/test_util.h
@@ -22,8 +22,9 @@ ExtensionBuilder& BuildExtension(ExtensionBuilder& builder);
// before running it.
scoped_refptr<Extension> CreateEmptyExtension();
-// Return a very simple extension with a given |id|.
-scoped_refptr<Extension> CreateExtensionWithID(const std::string& id);
+// Create an extension with a variable |id|, for tests that require multiple
+// extensions side-by-side having distinct IDs.
+scoped_refptr<Extension> CreateEmptyExtension(const std::string& id);
} // namespace test_util
} // namespace extensions