OLD | NEW |
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/glue/sync_backend_host_core.h" | 5 #include "components/sync_driver/glue/sync_backend_host_core.h" |
6 | 6 |
7 #include <utility> | 7 #include <utility> |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/files/file_util.h" | 10 #include "base/files/file_util.h" |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 unrecoverable_error_handler(unrecoverable_error_handler), | 109 unrecoverable_error_handler(unrecoverable_error_handler), |
110 report_unrecoverable_error_function(report_unrecoverable_error_function), | 110 report_unrecoverable_error_function(report_unrecoverable_error_function), |
111 saved_nigori_state(std::move(saved_nigori_state)), | 111 saved_nigori_state(std::move(saved_nigori_state)), |
112 clear_data_option(clear_data_option), | 112 clear_data_option(clear_data_option), |
113 invalidation_versions(invalidation_versions) {} | 113 invalidation_versions(invalidation_versions) {} |
114 | 114 |
115 DoInitializeOptions::~DoInitializeOptions() {} | 115 DoInitializeOptions::~DoInitializeOptions() {} |
116 | 116 |
117 DoConfigureSyncerTypes::DoConfigureSyncerTypes() {} | 117 DoConfigureSyncerTypes::DoConfigureSyncerTypes() {} |
118 | 118 |
| 119 DoConfigureSyncerTypes::DoConfigureSyncerTypes( |
| 120 const DoConfigureSyncerTypes& other) = default; |
| 121 |
119 DoConfigureSyncerTypes::~DoConfigureSyncerTypes() {} | 122 DoConfigureSyncerTypes::~DoConfigureSyncerTypes() {} |
120 | 123 |
121 SyncBackendHostCore::SyncBackendHostCore( | 124 SyncBackendHostCore::SyncBackendHostCore( |
122 const std::string& name, | 125 const std::string& name, |
123 const base::FilePath& sync_data_folder_path, | 126 const base::FilePath& sync_data_folder_path, |
124 bool has_sync_setup_completed, | 127 bool has_sync_setup_completed, |
125 const base::WeakPtr<SyncBackendHostImpl>& backend) | 128 const base::WeakPtr<SyncBackendHostImpl>& backend) |
126 : name_(name), | 129 : name_(name), |
127 sync_data_folder_path_(sync_data_folder_path), | 130 sync_data_folder_path_(sync_data_folder_path), |
128 host_(backend), | 131 host_(backend), |
(...skipping 655 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
784 | 787 |
785 void SyncBackendHostCore::ClearServerDataDone( | 788 void SyncBackendHostCore::ClearServerDataDone( |
786 const base::Closure& frontend_callback) { | 789 const base::Closure& frontend_callback) { |
787 DCHECK_EQ(base::MessageLoop::current(), sync_loop_); | 790 DCHECK_EQ(base::MessageLoop::current(), sync_loop_); |
788 host_.Call(FROM_HERE, &SyncBackendHostImpl::ClearServerDataDoneOnFrontendLoop, | 791 host_.Call(FROM_HERE, &SyncBackendHostImpl::ClearServerDataDoneOnFrontendLoop, |
789 frontend_callback); | 792 frontend_callback); |
790 } | 793 } |
791 | 794 |
792 | 795 |
793 } // namespace browser_sync | 796 } // namespace browser_sync |
OLD | NEW |