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

Unified Diff: chrome/browser/extensions/error_console/error_console.h

Issue 1016413004: [Extensions] Update Error Console UI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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/extensions/error_console/error_console.h
diff --git a/chrome/browser/extensions/error_console/error_console.h b/chrome/browser/extensions/error_console/error_console.h
index 4d56308eefb08a0f94287cc330dedc1d2914878b..006c31f4c37c66326b6da5f1f1025b3567d63710 100644
--- a/chrome/browser/extensions/error_console/error_console.h
+++ b/chrome/browser/extensions/error_console/error_console.h
@@ -42,7 +42,13 @@ class ErrorConsole : public content::NotificationObserver,
class Observer {
public:
// Sent when a new error is reported to the error console.
- virtual void OnErrorAdded(const ExtensionError* error) = 0;
+ virtual void OnErrorAdded(const ExtensionError* error);
+
+ // Sent when errors are removed from the error console. |extension_ids| is
+ // the set of ids that were affected.
+ // Note: This is not sent when an extension is uninstalled, or when a
+ // profile is destroyed.
+ virtual void OnErrorsRemoved(const std::set<std::string>& extension_ids);
// Sent upon destruction to allow any observers to invalidate any references
// they have to the error console.

Powered by Google App Engine
This is Rietveld 408576698