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

Unified Diff: extensions/common/test_util.h

Issue 569493003: Remove CreateEmptyExtension from extension_function_test_utils (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 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
« no previous file with comments | « extensions/browser/runtime_data_unittest.cc ('k') | extensions/common/test_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/test_util.h
diff --git a/extensions/common/test_util.h b/extensions/common/test_util.h
index 862c469c1c6ef3dae361e60ea1815d4aa669d5cb..4eb4d2e2d3718daf3847c93a49fb09394af7b953 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
« no previous file with comments | « extensions/browser/runtime_data_unittest.cc ('k') | extensions/common/test_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698