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

Unified Diff: PRESUBMIT.py

Issue 2451933003: base: Erase unused FOR_EACH_OBSERVER macro. (Closed)
Patch Set: Created 4 years, 2 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 | « no previous file | base/android/java/src/org/chromium/base/ObserverList.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: PRESUBMIT.py
diff --git a/PRESUBMIT.py b/PRESUBMIT.py
index 1cf31b9c8602784497be3deed13334ef562554b2..1953d76667af217edb6dd291265cbec8dcc49ed8 100644
--- a/PRESUBMIT.py
+++ b/PRESUBMIT.py
@@ -308,15 +308,6 @@ _BANNED_CPP_FUNCTIONS = (
(),
),
(
- r'FOR_EACH_OBSERVER(',
- (
- 'Use range-based for loops to iterate through base::ObserverList, e.g.',
- ' for (auto& observer : observers) { observer.Observe(); }',
- ),
- True,
- (),
- ),
- (
r'STLDeleteContainerPointers', # http://crbug.com/555865
(
'This call is obsolete with C++ 11; create a container with owning',
« no previous file with comments | « no previous file | base/android/java/src/org/chromium/base/ObserverList.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698