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

Unified Diff: extensions/browser/error_map.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
« no previous file with comments | « chrome/common/extensions/api/developer_private.idl ('k') | extensions/browser/error_map.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/error_map.h
diff --git a/extensions/browser/error_map.h b/extensions/browser/error_map.h
index f0e6b2c4aa942204235de6f78b84ec702328d8ea..a636b717c1d079dfabbec052d71bc55eb4b7a187 100644
--- a/extensions/browser/error_map.h
+++ b/extensions/browser/error_map.h
@@ -60,8 +60,10 @@ class ErrorMap {
// Add the |error| to the ErrorMap.
const ExtensionError* AddError(scoped_ptr<ExtensionError> error);
- // Removes errors that match the given |filter| from the map.
- void RemoveErrors(const Filter& filter);
+ // Removes errors that match the given |filter| from the map. If non-null,
+ // |affected_ids| will be populated with the set of extension ids that were
+ // affected by this removal.
+ void RemoveErrors(const Filter& filter, std::set<std::string>* affected_ids);
// Remove all errors for all extensions, and clear the map.
void RemoveAllErrors();
« no previous file with comments | « chrome/common/extensions/api/developer_private.idl ('k') | extensions/browser/error_map.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698