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

Unified Diff: components/data_reduction_proxy/core/browser/data_reduction_proxy_service.cc

Issue 2440303002: Remove usage of FOR_EACH_OBSERVER macro in components/ (Closed)
Patch Set: remove superfluous return 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
Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_service.cc
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_service.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_service.cc
index 28e9cdb558088d38722f4d30f87812e87c809359..86374060dd21a9c9eed9ec5cc3643d5a93d02ede 100644
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_service.cc
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_service.cc
@@ -68,8 +68,8 @@ void DataReductionProxyService::SetIOData(
DCHECK(CalledOnValidThread());
io_data_ = io_data;
initialized_ = true;
- FOR_EACH_OBSERVER(DataReductionProxyServiceObserver,
- observer_list_, OnServiceInitialized());
+ for (DataReductionProxyServiceObserver& observer : observer_list_)
+ observer.OnServiceInitialized();
// Load the Data Reduction Proxy configuration from |prefs_| and apply it.
if (prefs_) {
« no previous file with comments | « components/cronet/android/cronet_in_memory_pref_store.cc ('k') | components/data_usage/core/data_use_aggregator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698