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

Unified Diff: components/browser_sync/profile_sync_service_unittest.cc

Issue 2657673004: Add shutdown notification and service refs to SyncServiceObserver. (Closed)
Patch Set: Chromeos fix Created 3 years, 11 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/browser_sync/profile_sync_service_unittest.cc
diff --git a/components/browser_sync/profile_sync_service_unittest.cc b/components/browser_sync/profile_sync_service_unittest.cc
index 97ed5848feadac8cea819e4f6e4894033c30fcab..b4840091914c2e799fc5c91bbd6d3dea861940ad 100644
--- a/components/browser_sync/profile_sync_service_unittest.cc
+++ b/components/browser_sync/profile_sync_service_unittest.cc
@@ -92,7 +92,7 @@ class TestSyncServiceObserver : public syncer::SyncServiceObserver {
public:
explicit TestSyncServiceObserver(ProfileSyncService* service)
: service_(service), setup_in_progress_(false) {}
- void OnStateChanged() override {
+ void OnStateChanged(syncer::SyncService* sync) override {
setup_in_progress_ = service_->IsSetupInProgress();
}
bool setup_in_progress() const { return setup_in_progress_; }

Powered by Google App Engine
This is Rietveld 408576698