Chromium Code Reviews| 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..e993b3d36634d878624bd25e097d562b45656945 100644 |
| --- a/chrome/common/extensions/extension_test_util.h |
| +++ b/chrome/common/extensions/extension_test_util.h |
| @@ -8,11 +8,21 @@ |
| #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; |id| can be empty if the id is not important. |
|
Yoyo Zhou
2012/07/09 17:06:37
I can't see why the empty id case would be necessa
Devlin
2012/07/09 20:48:26
Done.
|
| +// NOTE: if |id| is empty, the extension returned will always have the same id! |
| +scoped_refptr<extensions::Extension> CreateExtension(std::string id); |
| + |
| } // namespace extension_test_util |
| #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_TEST_UTIL_H_ |