Index: chrome/browser/protector/settings_change_global_error.h |
diff --git a/chrome/browser/protector/settings_change_global_error.h b/chrome/browser/protector/settings_change_global_error.h |
index ebab480ed122cf05b35ab7dcb5ad4a5a895775ad..7f537c132809fe01eabc63b526fe33c8e365b760 100644 |
--- a/chrome/browser/protector/settings_change_global_error.h |
+++ b/chrome/browser/protector/settings_change_global_error.h |
@@ -12,6 +12,7 @@ |
#include "chrome/browser/protector/base_setting_change.h" |
#include "chrome/browser/ui/browser_list_observer.h" |
#include "chrome/browser/ui/global_error/global_error.h" |
+#include "chrome/browser/ui/host_desktop.h" |
class Browser; |
class Profile; |
@@ -33,14 +34,18 @@ class SettingsChangeGlobalError : public GlobalError, |
virtual ~SettingsChangeGlobalError(); |
// Adds a global error to the given browser profile and shows a bubble |
- // immediately if |show_bubble| is |true|. |
- void AddToProfile(Profile* profile, bool show_bubble); |
+ // immediately on the desktop specified by |desktop_type| if |show_bubble| is |
+ // |true|. |
+ void AddToProfile(Profile* profile, |
+ bool show_bubble, |
+ chrome::HostDesktopType desktop_type); |
// Removes global error from its profile. |
void RemoveFromProfile(); |
- // Displays the bubble in the last active tabbed browser. |
- void ShowBubble(); |
+ // Displays the bubble in the last active tabbed browser on the desktop |
+ // specified by |desktop_type|. |
+ void ShowBubble(chrome::HostDesktopType desktop_type); |
// Returns the change instance to which this error refers. |
BaseSettingChange* change() { return change_; } |