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

Side by Side Diff: components/signin/core/browser/signin_manager_base.cc

Issue 2422943002: Remove usage of FOR_EACH_OBSERVER macro in components/signin (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 unified diff | Download patch
« no previous file with comments | « components/signin/core/browser/signin_manager.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "components/signin/core/browser/signin_manager_base.h" 5 #include "components/signin/core/browser/signin_manager_base.h"
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 } 243 }
244 244
245 void SigninManagerBase::RemoveSigninDiagnosticsObserver( 245 void SigninManagerBase::RemoveSigninDiagnosticsObserver(
246 SigninDiagnosticsObserver* observer) { 246 SigninDiagnosticsObserver* observer) {
247 signin_diagnostics_observers_.RemoveObserver(observer); 247 signin_diagnostics_observers_.RemoveObserver(observer);
248 } 248 }
249 249
250 void SigninManagerBase::NotifyDiagnosticsObservers( 250 void SigninManagerBase::NotifyDiagnosticsObservers(
251 const TimedSigninStatusField& field, 251 const TimedSigninStatusField& field,
252 const std::string& value) { 252 const std::string& value) {
253 FOR_EACH_OBSERVER(SigninDiagnosticsObserver, 253 for (auto& observer : signin_diagnostics_observers_)
254 signin_diagnostics_observers_, 254 observer.NotifySigninValueChanged(field, value);
255 NotifySigninValueChanged(field, value));
256 } 255 }
OLDNEW
« no previous file with comments | « components/signin/core/browser/signin_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698