OLD | NEW |
| (Empty) |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #include "components/sync_driver/sync_service.h" | |
6 | |
7 #include "components/sync/core/sync_manager.h" | |
8 #include "google_apis/gaia/google_service_auth_error.h" | |
9 | |
10 namespace sync_driver { | |
11 | |
12 SyncSetupInProgressHandle::SyncSetupInProgressHandle(base::Closure on_destroy) | |
13 : on_destroy_(on_destroy) {} | |
14 | |
15 SyncSetupInProgressHandle::~SyncSetupInProgressHandle() { | |
16 on_destroy_.Run(); | |
17 } | |
18 | |
19 SyncService::SyncTokenStatus::SyncTokenStatus() | |
20 : connection_status(syncer::CONNECTION_NOT_ATTEMPTED), | |
21 last_get_token_error(GoogleServiceAuthError::AuthErrorNone()) {} | |
22 | |
23 } // namespace sync_driver | |
OLD | NEW |