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

Side by Side Diff: sync/engine/non_blocking_sync_common.cc

Issue 299963002: sync: Implement NonBlockingTypeProcessorCore (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More review fixes Created 6 years, 6 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 | Annotate | Revision Log
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 #include "sync/engine/non_blocking_sync_common.h" 5 #include "sync/engine/non_blocking_sync_common.h"
6 6
7 namespace syncer { 7 namespace syncer {
8 8
9 DataTypeState::DataTypeState() { 9 DataTypeState::DataTypeState() : next_client_id(0), initial_sync_done(false) {
10 } 10 }
11 11
12 DataTypeState::~DataTypeState() { 12 DataTypeState::~DataTypeState() {
13 } 13 }
14 14
15 CommitRequestData::CommitRequestData() { 15 CommitRequestData::CommitRequestData()
16 : sequence_number(0),
17 base_version(0),
18 deleted(false) {
16 } 19 }
17 20
18 CommitRequestData::~CommitRequestData() { 21 CommitRequestData::~CommitRequestData() {
19 } 22 }
20 23
21 CommitResponseData::CommitResponseData() { 24 CommitResponseData::CommitResponseData()
25 : sequence_number(0),
26 response_version() {
Nicolas Zea 2014/06/03 21:01:03 0?
rlarocque 2014/06/03 21:14:34 Done. I'm slightly annoyed that this compiled wit
22 } 27 }
23 28
24 CommitResponseData::~CommitResponseData() { 29 CommitResponseData::~CommitResponseData() {
25 } 30 }
26 31
27 UpdateResponseData::UpdateResponseData() { 32 UpdateResponseData::UpdateResponseData()
33 : response_version(0),
34 deleted(false) {
28 } 35 }
29 36
30 UpdateResponseData::~UpdateResponseData() { 37 UpdateResponseData::~UpdateResponseData() {
31 } 38 }
32 39
33 } // namespace syncer 40 } // namespace syncer
OLDNEW
« no previous file with comments | « sync/engine/non_blocking_sync_common.h ('k') | sync/engine/non_blocking_type_commit_contribution.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698