| 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 "components/browser_sync/profile_sync_service.h" | 5 #include "components/browser_sync/profile_sync_service.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 | 8 |
| 9 #include <cstddef> | 9 #include <cstddef> |
| 10 #include <map> | 10 #include <map> |
| (...skipping 2352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2363 } | 2363 } |
| 2364 | 2364 |
| 2365 syncer::SyncableService* ProfileSyncService::GetSessionsSyncableService() { | 2365 syncer::SyncableService* ProfileSyncService::GetSessionsSyncableService() { |
| 2366 return sessions_sync_manager_.get(); | 2366 return sessions_sync_manager_.get(); |
| 2367 } | 2367 } |
| 2368 | 2368 |
| 2369 syncer::SyncableService* ProfileSyncService::GetDeviceInfoSyncableService() { | 2369 syncer::SyncableService* ProfileSyncService::GetDeviceInfoSyncableService() { |
| 2370 return device_info_sync_service_.get(); | 2370 return device_info_sync_service_.get(); |
| 2371 } | 2371 } |
| 2372 | 2372 |
| 2373 syncer::ModelTypeService* ProfileSyncService::GetDeviceInfoService() { | 2373 syncer::ModelTypeSyncBridge* ProfileSyncService::GetDeviceInfoService() { |
| 2374 return device_info_service_.get(); | 2374 return device_info_service_.get(); |
| 2375 } | 2375 } |
| 2376 | 2376 |
| 2377 syncer::SyncService::SyncTokenStatus ProfileSyncService::GetSyncTokenStatus() | 2377 syncer::SyncService::SyncTokenStatus ProfileSyncService::GetSyncTokenStatus() |
| 2378 const { | 2378 const { |
| 2379 SyncTokenStatus status; | 2379 SyncTokenStatus status; |
| 2380 status.connection_status_update_time = connection_status_update_time_; | 2380 status.connection_status_update_time = connection_status_update_time_; |
| 2381 status.connection_status = connection_status_; | 2381 status.connection_status = connection_status_; |
| 2382 status.token_request_time = token_request_time_; | 2382 status.token_request_time = token_request_time_; |
| 2383 status.token_receive_time = token_receive_time_; | 2383 status.token_receive_time = token_receive_time_; |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2496 | 2496 |
| 2497 DCHECK(startup_controller_->IsSetupInProgress()); | 2497 DCHECK(startup_controller_->IsSetupInProgress()); |
| 2498 startup_controller_->SetSetupInProgress(false); | 2498 startup_controller_->SetSetupInProgress(false); |
| 2499 | 2499 |
| 2500 if (IsBackendInitialized()) | 2500 if (IsBackendInitialized()) |
| 2501 ReconfigureDatatypeManager(); | 2501 ReconfigureDatatypeManager(); |
| 2502 NotifyObservers(); | 2502 NotifyObservers(); |
| 2503 } | 2503 } |
| 2504 | 2504 |
| 2505 } // namespace browser_sync | 2505 } // namespace browser_sync |
| OLD | NEW |