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

Unified Diff: chrome/browser/protector/settings_change_global_error_delegate.h

Issue 9500020: ProtectorService supports multiple change instances. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge Created 8 years, 10 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/protector/settings_change_global_error.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/protector/settings_change_global_error_delegate.h
diff --git a/chrome/browser/protector/settings_change_global_error_delegate.h b/chrome/browser/protector/settings_change_global_error_delegate.h
index 34cc9a8afac6d06173663cc614a7b84571cc7938..584a191df6e300d612a6668cf5c0179639ab1a17 100644
--- a/chrome/browser/protector/settings_change_global_error_delegate.h
+++ b/chrome/browser/protector/settings_change_global_error_delegate.h
@@ -12,23 +12,27 @@ class Browser;
namespace protector {
+class SettingsChangeGlobalError;
+
// Interface for notifications about settings change error bubble closing.
class SettingsChangeGlobalErrorDelegate {
public:
virtual ~SettingsChangeGlobalErrorDelegate() {}
// Called if user clicks "Apply change" button.
- virtual void OnApplyChange(Browser* browser) = 0;
+ virtual void OnApplyChange(SettingsChangeGlobalError* error,
+ Browser* browser) = 0;
// Called if user clicks "Discard change" button.
- virtual void OnDiscardChange(Browser* browser) = 0;
+ virtual void OnDiscardChange(SettingsChangeGlobalError* error,
+ Browser* browser) = 0;
// Called if user clicked outside the bubble and timeout for its reshow
// has passed.
- virtual void OnDecisionTimeout() = 0;
+ virtual void OnDecisionTimeout(SettingsChangeGlobalError* error) = 0;
// Called when error is removed from profile so it's safe to delete it.
- virtual void OnRemovedFromProfile() = 0;
+ virtual void OnRemovedFromProfile(SettingsChangeGlobalError* error) = 0;
};
} // namespace protector
« no previous file with comments | « chrome/browser/protector/settings_change_global_error.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698