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

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

Issue 12578008: Move CrxFile, FileReader, ExtensionResource to src/extensions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 9 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_test_util.cc
diff --git a/chrome/common/extensions/extension_test_util.cc b/chrome/common/extensions/extension_test_util.cc
index 257b2e7cbf456ee21b1022e36b0c1cb563a1053b..621db1efe712742e4c6b36cea14b0e8d6e9b0de4 100644
--- a/chrome/common/extensions/extension_test_util.cc
+++ b/chrome/common/extensions/extension_test_util.cc
@@ -12,15 +12,6 @@ using extensions::Extension;
namespace extension_test_util {
-std::string MakeId(std::string seed) {
- std::string result;
- bool success = Extension::GenerateId(seed, &result);
- EXPECT_TRUE(success);
- EXPECT_FALSE(result.empty());
- EXPECT_TRUE(Extension::IdIsValid(result));
- return result;
-}
-
scoped_refptr<Extension> CreateExtensionWithID(std::string id) {
DictionaryValue values;
values.SetString(extension_manifest_keys::kName, "test");
« no previous file with comments | « chrome/common/extensions/extension_resource_unittest.cc ('k') | chrome/common/extensions/extension_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698