Chromium Code Reviews| Index: components/test_runner/test_runner.h |
| diff --git a/components/test_runner/test_runner.h b/components/test_runner/test_runner.h |
| index a22a5dbc2efe6ec867598f6692843633e4349b31..b58cf7a40c302d4fdbda555ce37cd7cb400e4576 100644 |
| --- a/components/test_runner/test_runner.h |
| +++ b/components/test_runner/test_runner.h |
| @@ -405,6 +405,12 @@ class TestRunner : public WebTestRunner { |
| void SetAutoplayAllowed(bool allowed); |
| void DumpPermissionClientCallbacks(); |
| + // Sets up a mock DocumentSubresourceFilter to disallow subsequent subresource |
| + // loads of the current document with the given path |suffixes|. The filter is |
| + // created and injected even if |suffixes| is empty. |
|
Mike West
2016/06/01 13:43:18
Aside: Does an empty suffix mean that everything i
engedy
2016/06/02 23:07:19
Clarified in the comment.
|
| + void SetDisallowedSubresourcePathSuffixes( |
| + const std::vector<std::string>& suffixes); |
| + |
| // This function sets a flag that tells the test_shell to dump all calls |
| // to window.status(). |
| // It takes no arguments, and ignores any that may be present. |