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

Side by Side Diff: components/sync/driver/sync_service_observer.cc

Issue 2657673004: Add shutdown notification and service refs to SyncServiceObserver. (Closed)
Patch Set: Use parameter Created 3 years, 10 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "components/sync/driver/sync_service_observer.h" 5 #include "components/sync/driver/sync_service_observer.h"
6 6
7 namespace syncer { 7 namespace syncer {
8 8
9 void SyncServiceObserver::OnSyncCycleCompleted() { 9 void SyncServiceObserver::OnSyncCycleCompleted(SyncService* sync) {
10 OnStateChanged(); 10 OnStateChanged(sync);
11 } 11 }
12 12
13 } // namespace syncer 13 } // namespace syncer
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698