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

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

Issue 332163006: Manage settings window icon for multi profile (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix browsertest Created 6 years, 6 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
Index: chrome/browser/ui/settings_window_manager.h
diff --git a/chrome/browser/ui/settings_window_manager.h b/chrome/browser/ui/settings_window_manager.h
index d233e9f5884e098b0cfd652d556225f86f040381..0374f8de982f43a4b34316fc1f6eb0f9bb7a6ba0 100644
--- a/chrome/browser/ui/settings_window_manager.h
+++ b/chrome/browser/ui/settings_window_manager.h
@@ -38,6 +38,9 @@ class SettingsWindowManager {
// returns it, otherwise returns NULL.
Browser* FindBrowserForProfile(Profile* profile);
+ // Returns true if |browser| is a settings window.
+ bool IsSettingsBrowser(Browser* browser) const;
+
private:
friend struct DefaultSingletonTraits<SettingsWindowManager>;
typedef std::map<Profile*, SessionID::id_type> ProfileSessionMap;
« no previous file with comments | « chrome/browser/ui/ash/launcher/multi_profile_browser_status_monitor.cc ('k') | chrome/browser/ui/settings_window_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698