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

Unified Diff: chrome/browser/sync/profile_sync_service_base.h

Issue 697953002: ObserverList::HasObserver now takes a const pointer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compile errors (ChromeOS unit tests). 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
« no previous file with comments | « chrome/browser/sync/profile_sync_service.cc ('k') | chrome/browser/ui/ash/screenshot_taker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/profile_sync_service_base.h
diff --git a/chrome/browser/sync/profile_sync_service_base.h b/chrome/browser/sync/profile_sync_service_base.h
index 57f1ba6497fe7206fc023e0bda1f933e8a3b9dfd..8f0b8f30c205baa9af07d082da7d6e522701f518 100644
--- a/chrome/browser/sync/profile_sync_service_base.h
+++ b/chrome/browser/sync/profile_sync_service_base.h
@@ -51,7 +51,7 @@ class ProfileSyncServiceBase {
virtual void RemoveObserver(Observer* observer) = 0;
// Returns true if |observer| has already been added as an observer.
- virtual bool HasObserver(Observer* observer) const = 0;
+ virtual bool HasObserver(const Observer* observer) const = 0;
};
#endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_BASE_H_
« no previous file with comments | « chrome/browser/sync/profile_sync_service.cc ('k') | chrome/browser/ui/ash/screenshot_taker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698