Chromium Code Reviews| Index: chrome/browser/extensions/extension_apitest.h |
| diff --git a/chrome/browser/extensions/extension_apitest.h b/chrome/browser/extensions/extension_apitest.h |
| index 6717cbb8ba16dd40e4782803bbfa3af6f9066c32..873cf7f6905c8da7f5cb4d8a2c1b6d979e7592f4 100644 |
| --- a/chrome/browser/extensions/extension_apitest.h |
| +++ b/chrome/browser/extensions/extension_apitest.h |
| @@ -106,6 +106,11 @@ class ExtensionApiTest : public ExtensionBrowserTest { |
| const std::string& page_url, |
| int flags); |
| + // Same as RunExtensionSubtest, but with a custom argument. |
| + bool RunExtensionSubtestWithArg(const std::string& extension_name, |
| + const std::string& page_url, |
| + const char* custom_arg); |
|
asargent_no_longer_on_chrome
2015/03/03 00:10:30
A better to do this instead of adding a new method
davidben
2015/03/05 20:01:52
Done. (I just snuck the custom arg through the URL
|
| + |
| // Load |page_url| and wait for pass / fail notification from the extension |
| // API on the page. |
| bool RunPageTest(const std::string& page_url); |