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

Unified Diff: chrome/browser/sync/backend_migrator.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/search/instant_unittest_base.cc ('k') | chrome/browser/sync/backend_migrator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/backend_migrator.h
diff --git a/chrome/browser/sync/backend_migrator.h b/chrome/browser/sync/backend_migrator.h
index c34520d4865e73bd8cf6b0cbb1b708002561ff27..64bce1a2234c1b6a9d8c46276e4ad80a2e2ab1e0 100644
--- a/chrome/browser/sync/backend_migrator.h
+++ b/chrome/browser/sync/backend_migrator.h
@@ -58,7 +58,7 @@ class BackendMigrator {
void MigrateTypes(syncer::ModelTypeSet types);
void AddMigrationObserver(MigrationObserver* observer);
- bool HasMigrationObserver(MigrationObserver* observer) const;
+ bool HasMigrationObserver(const MigrationObserver* observer) const;
void RemoveMigrationObserver(MigrationObserver* observer);
State state() const;
« no previous file with comments | « chrome/browser/search/instant_unittest_base.cc ('k') | chrome/browser/sync/backend_migrator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698