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

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

Issue 11587006: browser: Move two other functions from browser_finder.h into chrome namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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/extensions/application_launch.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 97b393959333121056e496479add0de7c2cb0804..17141a57c27d82df137158c6e249bb7653868356 100644
--- a/chrome/browser/ui/browser_finder.cc
+++ b/chrome/browser/ui/browser_finder.cc
@@ -147,9 +147,13 @@ Browser* FindOrCreateTabbedBrowser(Profile* profile,
return browser;
}
+} // namespace browser
+
+namespace chrome {
+
Browser* FindAnyBrowser(Profile* profile,
bool match_original_profiles,
- chrome::HostDesktopType type) {
+ HostDesktopType type) {
return FindBrowserWithTabbedOrAnyType(profile,
type,
false,
@@ -157,14 +161,10 @@ Browser* FindAnyBrowser(Profile* profile,
}
Browser* FindBrowserWithProfile(Profile* profile,
- chrome::HostDesktopType desktop_type) {
+ HostDesktopType desktop_type) {
return FindBrowserWithTabbedOrAnyType(profile, desktop_type, false, false);
}
-} // namespace browser
-
-namespace chrome {
-
Browser* FindBrowserWithID(SessionID::id_type desired_id) {
for (BrowserList::const_iterator i = BrowserList::begin();
i != BrowserList::end(); ++i) {
« no previous file with comments | « chrome/browser/ui/browser_finder.h ('k') | chrome/browser/ui/extensions/application_launch.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698