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

Unified Diff: chrome/browser/sync/profile_sync_service.cc

Issue 697953002: ObserverList::HasObserver now takes a const pointer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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: chrome/browser/sync/profile_sync_service.cc
diff --git a/chrome/browser/sync/profile_sync_service.cc b/chrome/browser/sync/profile_sync_service.cc
index 2d29fd9043f85bdcf0280d59c790cd8a37853b2d..980bbc739395bcec16e2a731b8521ad7abccd8ab 100644
--- a/chrome/browser/sync/profile_sync_service.cc
+++ b/chrome/browser/sync/profile_sync_service.cc
@@ -2438,7 +2438,7 @@ void ProfileSyncService::GetAllNodes(
}
bool ProfileSyncService::HasObserver(
- ProfileSyncServiceBase::Observer* observer) const {
+ const ProfileSyncServiceBase::Observer* observer) const {
return observers_.HasObserver(observer);
}

Powered by Google App Engine
This is Rietveld 408576698