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

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

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/extensions/extension_function.cc ('k') | chrome/browser/ui/browser_finder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser_finder.h
diff --git a/chrome/browser/ui/browser_finder.h b/chrome/browser/ui/browser_finder.h
index cb898271b007c1a07a887365c6752537da8a41a7..a07353f7e3dff889bb004aef7461078b0a98e9d5 100644
--- a/chrome/browser/ui/browser_finder.h
+++ b/chrome/browser/ui/browser_finder.h
@@ -39,22 +39,21 @@ Browser* FindOrCreateTabbedBrowserDeprecated(Profile* profile);
Browser* FindOrCreateTabbedBrowser(Profile* profile,
chrome::HostDesktopType type);
+} // namespace browser
+
+namespace chrome {
+
// 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,
- chrome::HostDesktopType type);
+ 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,
- chrome::HostDesktopType type);
-
-} // namespace browser
-
-namespace chrome {
+Browser* FindBrowserWithProfile(Profile* profile, HostDesktopType type);
// Find an existing browser with the provided ID. Returns NULL if no such
// browser currently exists.
« no previous file with comments | « chrome/browser/extensions/extension_function.cc ('k') | chrome/browser/ui/browser_finder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698