| Index: chrome/browser/ui/browser_finder.h
|
| diff --git a/chrome/browser/ui/browser_finder.h b/chrome/browser/ui/browser_finder.h
|
| index 8c1c76843408dae19289863a7e76b85ea538ee10..e81ff5a5745d562af16ecd5c2be1bd9beb06a9cc 100644
|
| --- a/chrome/browser/ui/browser_finder.h
|
| +++ b/chrome/browser/ui/browser_finder.h
|
| @@ -31,19 +31,19 @@ namespace chrome {
|
| // |type| refers to the host desktop the returned browser should belong to.
|
| Browser* FindTabbedBrowser(Profile* profile,
|
| bool match_original_profiles,
|
| - HostDesktopType type);
|
| + ui::HostDesktopType type);
|
|
|
| // Finds an existing browser window of any kind.
|
| // |type| refers to the host desktop the returned browser should belong to.
|
| Browser* FindAnyBrowser(Profile* profile,
|
| bool match_original_profiles,
|
| - HostDesktopType type);
|
| + ui::HostDesktopType type);
|
|
|
| // Find an existing browser window with the provided profile and hosted in the
|
| // given desktop. Searches in the order of last activation. Only browsers that
|
| // have been active can be returned. Returns NULL if no such browser currently
|
| // exists.
|
| -Browser* FindBrowserWithProfile(Profile* profile, HostDesktopType type);
|
| +Browser* FindBrowserWithProfile(Profile* profile, ui::HostDesktopType type);
|
|
|
| // Find an existing browser with the provided ID. Returns NULL if no such
|
| // browser currently exists.
|
| @@ -65,7 +65,7 @@ Browser* FindBrowserWithWebContents(const content::WebContents* web_contents);
|
| // clicks on another app before the first browser window appears) then this
|
| // returns NULL.
|
| // WARNING #2: this will always be NULL in unit tests run on the bots.
|
| -Browser* FindLastActiveWithProfile(Profile* profile, HostDesktopType type);
|
| +Browser* FindLastActiveWithProfile(Profile* profile, ui::HostDesktopType type);
|
|
|
| // Returns the Browser object on the given desktop type whose window was most
|
| // recently active. If no such Browsers exist, returns NULL.
|
| @@ -75,7 +75,7 @@ Browser* FindLastActiveWithProfile(Profile* profile, HostDesktopType type);
|
| // clicks on another app before the first browser window appears) then this
|
| // returns NULL.
|
| // WARNING #2: this will always be NULL in unit tests run on the bots.
|
| -Browser* FindLastActiveWithHostDesktopType(HostDesktopType type);
|
| +Browser* FindLastActiveWithHostDesktopType(ui::HostDesktopType type);
|
|
|
| // Returns the number of browsers across all profiles and desktops.
|
| size_t GetTotalBrowserCount();
|
| @@ -86,11 +86,11 @@ size_t GetTotalBrowserCountForProfile(Profile* profile);
|
|
|
| // Returns the number of browsers with the Profile |profile| on the desktop
|
| // defined by |type|.
|
| -size_t GetBrowserCount(Profile* profile, HostDesktopType type);
|
| +size_t GetBrowserCount(Profile* profile, ui::HostDesktopType type);
|
|
|
| // Returns the number of tabbed browsers with the Profile |profile| on the
|
| // desktop defined by |type|.
|
| -size_t GetTabbedBrowserCount(Profile* profile, HostDesktopType type);
|
| +size_t GetTabbedBrowserCount(Profile* profile, ui::HostDesktopType type);
|
|
|
| } // namespace chrome
|
|
|
|
|