OLD | NEW |
---|---|
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 |
OLD | NEW |