| Index: chrome/browser/sync_file_system/sync_file_system_service.cc
|
| diff --git a/chrome/browser/sync_file_system/sync_file_system_service.cc b/chrome/browser/sync_file_system/sync_file_system_service.cc
|
| index e4df2aa917bdf65d93ee6fde6f7831edf4c15180..3e2d7070aa9f90acc149ba24c63895e006721256 100644
|
| --- a/chrome/browser/sync_file_system/sync_file_system_service.cc
|
| +++ b/chrome/browser/sync_file_system/sync_file_system_service.cc
|
| @@ -49,8 +49,22 @@ void SyncFileSystemService::InitializeForApp(
|
| // TODO(tzik): Hook up remote service initialization code.
|
| }
|
|
|
| +void SyncFileSystemService::OnLocalChangeAvailable(int64 pending_changes) {
|
| + DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
|
| + DCHECK_GE(pending_changes, 0);
|
| + pending_local_changes_ = pending_changes;
|
| +}
|
| +
|
| +void SyncFileSystemService::OnRemoteChangeAvailable(int64 pending_changes) {
|
| + DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
|
| + DCHECK_GE(pending_changes, 0);
|
| + pending_remote_changes_ = pending_changes;
|
| +}
|
| +
|
| SyncFileSystemService::SyncFileSystemService(Profile* profile)
|
| - : profile_(profile) {}
|
| + : profile_(profile),
|
| + pending_local_changes_(0),
|
| + pending_remote_changes_(0) {}
|
|
|
| void SyncFileSystemService::Initialize(
|
| scoped_ptr<LocalFileSyncService> local_file_service) {
|
|
|