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

Unified Diff: components/content_settings/core/browser/content_settings_rule.h

Issue 2318223002: Remove EmptyRuleIterators with nullptrs. (Closed)
Patch Set: Fix failing unit test Created 4 years, 3 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: components/content_settings/core/browser/content_settings_rule.h
diff --git a/components/content_settings/core/browser/content_settings_rule.h b/components/content_settings/core/browser/content_settings_rule.h
index af7b450a8f963c4c34de3fa0220b117243f7923e..8c24e60ccafd20e9bf15250c5ec93ca1b363dbe7 100644
--- a/components/content_settings/core/browser/content_settings_rule.h
+++ b/components/content_settings/core/browser/content_settings_rule.h
@@ -39,13 +39,6 @@ class RuleIterator {
virtual Rule Next() = 0;
};
-class EmptyRuleIterator : public RuleIterator {
- public:
- ~EmptyRuleIterator() override;
- bool HasNext() const override;
- Rule Next() override;
-};
-
class ConcatenationIterator : public RuleIterator {
public:
// ConcatenationIterator takes ownership of the pointers in the |iterators|

Powered by Google App Engine
This is Rietveld 408576698