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

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

Issue 110463003: Create extensions_test_support build target (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase extension_test_util Created 6 years, 11 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.h
diff --git a/chrome/common/extensions/extension_test_util.h b/chrome/common/extensions/extension_test_util.h
index 5509185fc5e0ee12d91b82b22c77a7bcd2f661dd..f536a7006a82e8cf420cdba4fd6f7f57ebbe6f5e 100644
--- a/chrome/common/extensions/extension_test_util.h
+++ b/chrome/common/extensions/extension_test_util.h
@@ -8,28 +8,15 @@
#include <string>
#include "base/memory/ref_counted.h"
-#include "extensions/common/extension_builder.h"
#include "extensions/common/manifest.h"
namespace extensions {
class Extension;
+}
-// Newer functions go here.
-// TODO(mpcomplete): migrate older functions over.
+// Newer functions go in extensions/common/test_util.h.
namespace extension_test_util {
-ExtensionBuilder& BuildExtension(ExtensionBuilder& builder);
-ExtensionBuilder& BuildExtensionWithPermissions(ExtensionBuilder& builder,
- ListBuilder& permissions);
-
-} // namespace extension_test_util
-} // namespace extensions
-
-namespace extension_test_util {
-
-// Return a very simple extension with id |id|.
-scoped_refptr<extensions::Extension> CreateExtensionWithID(std::string id);
-
// Helpers for loading manifests, |dir| is relative to chrome::DIR_TEST_DATA
// followed by "extensions".
scoped_refptr<extensions::Extension> LoadManifestUnchecked(
« no previous file with comments | « chrome/common/extensions/api/extension_api_unittest.cc ('k') | chrome/common/extensions/extension_test_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698