summaryrefslogtreecommitdiffstats
path: root/extensions/common/test_util.h
diff options
context:
space:
mode:
authordhnishi@chromium.org <dhnishi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-09 02:53:32 +0000
committerdhnishi@chromium.org <dhnishi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-09 02:54:30 +0000
commit904eb66575fc98086e1a8b90b21a6e5ebc6afc2c (patch)
tree7064cc28fda091fa231806e1a6777bd60ee96408 /extensions/common/test_util.h
parent459a22a5e7e580f888faa4ef0cbc1f37d624a810 (diff)
downloadchromium_src-904eb66575fc98086e1a8b90b21a6e5ebc6afc2c.zip
chromium_src-904eb66575fc98086e1a8b90b21a6e5ebc6afc2c.tar.gz
chromium_src-904eb66575fc98086e1a8b90b21a6e5ebc6afc2c.tar.bz2
Move SocketsTcpApiTest.SocketsTcpCreateGood to app_shell_browsertests.
BUG=388893 Review URL: https://codereview.chromium.org/449303002 Cr-Commit-Position: refs/heads/master@{#288495} git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288495 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'extensions/common/test_util.h')
-rw-r--r--extensions/common/test_util.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/extensions/common/test_util.h b/extensions/common/test_util.h
index 54d985b..46ac5d08 100644
--- a/extensions/common/test_util.h
+++ b/extensions/common/test_util.h
@@ -23,6 +23,10 @@ namespace test_util {
// Adds an extension manifest to a builder.
ExtensionBuilder& BuildExtension(ExtensionBuilder& builder);
+// Creates an extension instance that can be attached to an ExtensionFunction
+// before running it.
+scoped_refptr<Extension> CreateEmptyExtension();
+
// Return a very simple extension with a given |id|.
scoped_refptr<Extension> CreateExtensionWithID(const std::string& id);