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

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

Issue 10694056: CPM Extension Uninstall Watching (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Requested changes made Created 8 years, 5 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 77c47e5449cbba10fb16fa4e61d09911a88bfb9c..fbe5eff1c1618e3d1f3112a942bc6cbe72d4cff3 100644
--- a/chrome/common/extensions/extension_test_util.h
+++ b/chrome/common/extensions/extension_test_util.h
@@ -8,11 +8,20 @@
#include <string>
+#include "base/memory/ref_counted.h"
+
+namespace extensions {
+class Extension;
+}
+
namespace extension_test_util {
// Makes a fake extension id using the given |seed|.
std::string MakeId(std::string seed);
+// Return a very simple extension with id |id|.
+scoped_refptr<extensions::Extension> CreateExtensionWithID(std::string id);
+
} // namespace extension_test_util
#endif // CHROME_COMMON_EXTENSIONS_EXTENSION_TEST_UTIL_H_

Powered by Google App Engine
This is Rietveld 408576698