Index: chrome/browser/ui/browser_list.h |
=================================================================== |
--- chrome/browser/ui/browser_list.h (revision 116011) |
+++ chrome/browser/ui/browser_list.h (working copy) |
@@ -13,8 +13,6 @@ |
#include "chrome/browser/ui/browser.h" |
#include "ui/gfx/native_widget_types.h" |
-class TabContents; |
- |
// Stores a list of all Browser objects. |
class BrowserList { |
public: |
@@ -100,9 +98,10 @@ |
// Find the browser represented by |window| or NULL if not found. |
static Browser* FindBrowserWithWindow(gfx::NativeWindow window); |
- // Find the browser containing |tab_contents| or NULL if none is found. |
- // |tab_contents| must not be NULL. |
- static Browser* FindBrowserWithTabContents(TabContents* tab_contents); |
+ // Find the browser containing |web_contents| or NULL if none is found. |
+ // |web_contents| must not be NULL. |
+ static Browser* FindBrowserWithWebContents( |
+ content::WebContents* web_contents); |
// Checks if the browser can be automatically restarted to install upgrades |
// The browser can be automatically restarted when: |