Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(416)

Side by Side Diff: components/sync_driver/data_type_manager_impl.h

Issue 1728033002: components: Add out-of-line copy ctors for complex classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef COMPONENTS_SYNC_DRIVER_DATA_TYPE_MANAGER_IMPL_H__ 5 #ifndef COMPONENTS_SYNC_DRIVER_DATA_TYPE_MANAGER_IMPL_H__
6 #define COMPONENTS_SYNC_DRIVER_DATA_TYPE_MANAGER_IMPL_H__ 6 #define COMPONENTS_SYNC_DRIVER_DATA_TYPE_MANAGER_IMPL_H__
7 7
8 #include "components/sync_driver/data_type_manager.h" 8 #include "components/sync_driver/data_type_manager.h"
9 9
10 #include <map> 10 #include <map>
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 // For querying failed data types (having unrecoverable error) when 179 // For querying failed data types (having unrecoverable error) when
180 // configuring backend. 180 // configuring backend.
181 DataTypeStatusTable data_type_status_table_; 181 DataTypeStatusTable data_type_status_table_;
182 182
183 // Types waiting to be downloaded. 183 // Types waiting to be downloaded.
184 TypeSetPriorityList download_types_queue_; 184 TypeSetPriorityList download_types_queue_;
185 185
186 // Types waiting for association and related time tracking info. 186 // Types waiting for association and related time tracking info.
187 struct AssociationTypesInfo { 187 struct AssociationTypesInfo {
188 AssociationTypesInfo(); 188 AssociationTypesInfo();
189 AssociationTypesInfo(const AssociationTypesInfo& other);
189 ~AssociationTypesInfo(); 190 ~AssociationTypesInfo();
190 191
191 // Types to associate. 192 // Types to associate.
192 syncer::ModelTypeSet types; 193 syncer::ModelTypeSet types;
193 // Types that have just been downloaded and are being associated for the 194 // Types that have just been downloaded and are being associated for the
194 // first time. This includes types that had previously encountered an error 195 // first time. This includes types that had previously encountered an error
195 // and had to be purged/unapplied from the sync db. 196 // and had to be purged/unapplied from the sync db.
196 // This is a subset of |types|. 197 // This is a subset of |types|.
197 syncer::ModelTypeSet first_sync_types; 198 syncer::ModelTypeSet first_sync_types;
198 // Types that were already ready for association at configuration time. 199 // Types that were already ready for association at configuration time.
(...skipping 26 matching lines...) Expand all
225 bool catch_up_in_progress_; 226 bool catch_up_in_progress_;
226 227
227 base::WeakPtrFactory<DataTypeManagerImpl> weak_ptr_factory_; 228 base::WeakPtrFactory<DataTypeManagerImpl> weak_ptr_factory_;
228 229
229 DISALLOW_COPY_AND_ASSIGN(DataTypeManagerImpl); 230 DISALLOW_COPY_AND_ASSIGN(DataTypeManagerImpl);
230 }; 231 };
231 232
232 } // namespace sync_driver 233 } // namespace sync_driver
233 234
234 #endif // COMPONENTS_SYNC_DRIVER_DATA_TYPE_MANAGER_IMPL_H__ 235 #endif // COMPONENTS_SYNC_DRIVER_DATA_TYPE_MANAGER_IMPL_H__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698