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

Unified Diff: extensions/common/test_util.cc

Issue 449303002: Move SocketsTcpApiTest.SocketsTcpCreateGood to app_shell_browsertests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Yoyo comments. Created 6 years, 4 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
« no previous file with comments | « extensions/common/test_util.h ('k') | extensions/shell/app_shell.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/test_util.cc
diff --git a/extensions/common/test_util.cc b/extensions/common/test_util.cc
index 05de2c7779a48c9a75ae91c491c8d99dd0169c18..03b35b84801522cd6f945ee3b99549e9a9efb362 100644
--- a/extensions/common/test_util.cc
+++ b/extensions/common/test_util.cc
@@ -22,6 +22,15 @@ ExtensionBuilder& BuildExtension(ExtensionBuilder& builder) {
.Set("manifest_version", 2));
}
+scoped_refptr<Extension> CreateEmptyExtension() {
+ scoped_refptr<Extension> empty_extension(
+ ExtensionBuilder()
+ .SetManifest(
+ DictionaryBuilder().Set("name", "Test").Set("version", "1.0"))
+ .Build());
+ return empty_extension;
+}
+
scoped_refptr<Extension> CreateExtensionWithID(const std::string& id) {
return ExtensionBuilder()
.SetManifest(
« no previous file with comments | « extensions/common/test_util.h ('k') | extensions/shell/app_shell.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698