| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "chrome/browser/sync/profile_sync_service.h" | 5 #include "chrome/browser/sync/profile_sync_service.h" |
| 6 | 6 |
| 7 #include <cstddef> | 7 #include <cstddef> |
| 8 #include <map> | 8 #include <map> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 2770 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2781 true)); | 2781 true)); |
| 2782 } | 2782 } |
| 2783 | 2783 |
| 2784 bool ProfileSyncService::NeedBackup() const { | 2784 bool ProfileSyncService::NeedBackup() const { |
| 2785 return need_backup_; | 2785 return need_backup_; |
| 2786 } | 2786 } |
| 2787 | 2787 |
| 2788 base::Time ProfileSyncService::GetDeviceBackupTimeForTesting() const { | 2788 base::Time ProfileSyncService::GetDeviceBackupTimeForTesting() const { |
| 2789 return backend_->GetSyncedDeviceTracker()->GetLocalDeviceBackupTime(); | 2789 return backend_->GetSyncedDeviceTracker()->GetLocalDeviceBackupTime(); |
| 2790 } | 2790 } |
| 2791 |
| 2792 void ProfileSyncService::FlushDirectory() { |
| 2793 backend_->FlushDirectory(); |
| 2794 } |
| OLD | NEW |