Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6766)

Unified Diff: chrome/browser/ui/browser_finder.cc

Issue 11779019: browser: Move FindTabbedBrowser() function into chrome namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/browser_finder.h ('k') | chrome/browser/ui/browser_navigator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser_finder.cc
diff --git a/chrome/browser/ui/browser_finder.cc b/chrome/browser/ui/browser_finder.cc
index ef14ef06c2732c21fe9e84d60064bbef282e9d60..399b8c059ac0f3bbcfef0258627ec7c1b67c1dbc 100644
--- a/chrome/browser/ui/browser_finder.cc
+++ b/chrome/browser/ui/browser_finder.cc
@@ -124,23 +124,19 @@ size_t GetBrowserCountImpl(Profile* profile,
} // namespace
-namespace browser {
+namespace chrome {
Browser* FindTabbedBrowser(Profile* profile,
bool match_original_profiles,
- chrome::HostDesktopType type) {
+ HostDesktopType type) {
return FindBrowserWithTabbedOrAnyType(profile,
type,
true,
match_original_profiles);
}
-} // namespace browser
-
-namespace chrome {
-
Browser* FindOrCreateTabbedBrowser(Profile* profile, HostDesktopType type) {
- Browser* browser = browser::FindTabbedBrowser(profile, false, type);
+ Browser* browser = FindTabbedBrowser(profile, false, type);
if (!browser)
browser = new Browser(Browser::CreateParams(profile, type));
return browser;
« no previous file with comments | « chrome/browser/ui/browser_finder.h ('k') | chrome/browser/ui/browser_navigator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698