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

Unified Diff: components/browser_sync/profile_sync_service_unittest.cc

Issue 2657673004: Add shutdown notification and service refs to SyncServiceObserver. (Closed)
Patch Set: Use parameter 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 916d3b3e98f58a13436c2ca83f67b76b9c13807a..ada8be610c1037d860b6b8cb9d79d0541f5562b2 100644
--- a/components/browser_sync/profile_sync_service_unittest.cc
+++ b/components/browser_sync/profile_sync_service_unittest.cc
@@ -89,7 +89,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