| Index: chrome/browser/ui/browser_finder.cc
|
| diff --git a/chrome/browser/ui/browser_finder.cc b/chrome/browser/ui/browser_finder.cc
|
| index a881f2c10112000941407c13a9323400ae813257..859fb1109fc085bfa9b5ba174b56cbac70b9b2cd 100644
|
| --- a/chrome/browser/ui/browser_finder.cc
|
| +++ b/chrome/browser/ui/browser_finder.cc
|
| @@ -185,6 +185,10 @@ Browser* FindBrowserWithWindow(gfx::NativeWindow window) {
|
| return NULL;
|
| }
|
|
|
| +} // namespace browser
|
| +
|
| +namespace chrome {
|
| +
|
| Browser* FindBrowserWithWebContents(const WebContents* web_contents) {
|
| DCHECK(web_contents);
|
| for (TabContentsIterator it; !it.done(); ++it) {
|
| @@ -194,10 +198,6 @@ Browser* FindBrowserWithWebContents(const WebContents* web_contents) {
|
| return NULL;
|
| }
|
|
|
| -} // namespace browser
|
| -
|
| -namespace chrome {
|
| -
|
| Browser* FindLastActiveWithProfile(Profile* profile, HostDesktopType type) {
|
| BrowserListImpl* list = BrowserListImpl::GetInstance(type);
|
| // We are only interested in last active browsers, so we don't fall back to
|
|
|