Chromium Code Reviews| Index: chrome/test/base/in_process_browser_test.h |
| diff --git a/chrome/test/base/in_process_browser_test.h b/chrome/test/base/in_process_browser_test.h |
| index c6eb60acfef10fc61f1b9ea4133897939ff6171c..9bdb6120531d6eb204f02cd4447fd7dbabadf8b9 100644 |
| --- a/chrome/test/base/in_process_browser_test.h |
| +++ b/chrome/test/base/in_process_browser_test.h |
| @@ -108,6 +108,14 @@ class InProcessBrowserTest : public content::BrowserTestBase { |
| // Returns the browser created by CreateBrowser. |
| Browser* browser() const { return browser_; } |
| + // Closes the given browser and synchronously flushes all of its outstanding |
| + // resources. |
| + void CloseBrowserSynchronously(Browser* browser); |
| + |
| + // Closes all browsers. No guarantees are made about the destruction of |
| + // outstanding resources. |
|
erikchen
2015/07/08 22:05:44
There is only one caller of this method, and I jus
|
| + void CloseAllBrowsers(); |
| + |
| // Convenience methods for adding tabs to a Browser. |
| void AddTabAtIndexToBrowser(Browser* browser, |
| int index, |