OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 SYNC_SESSIONS_MODEL_NEUTRAL_STATE_H | 5 #ifndef SYNC_SESSIONS_MODEL_NEUTRAL_STATE_H |
6 #define SYNC_SESSIONS_MODEL_NEUTRAL_STATE_H | 6 #define SYNC_SESSIONS_MODEL_NEUTRAL_STATE_H |
7 #pragma once | |
8 | 7 |
9 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
10 #include "sync/internal_api/public/util/syncer_error.h" | 9 #include "sync/internal_api/public/util/syncer_error.h" |
11 #include "sync/protocol/sync.pb.h" | 10 #include "sync/protocol/sync.pb.h" |
12 #include "sync/protocol/sync_protocol_error.h" | 11 #include "sync/protocol/sync_protocol_error.h" |
13 | 12 |
14 namespace syncer { | 13 namespace syncer { |
15 namespace sessions { | 14 namespace sessions { |
16 | 15 |
17 // Grouping of all state that applies to all model types. Note that some | 16 // Grouping of all state that applies to all model types. Note that some |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 // Number of changes remaining, according to the server. | 64 // Number of changes remaining, according to the server. |
66 // Take it as an estimate unless it's value is zero, in which case there | 65 // Take it as an estimate unless it's value is zero, in which case there |
67 // really is nothing more to download. | 66 // really is nothing more to download. |
68 int64 num_server_changes_remaining; | 67 int64 num_server_changes_remaining; |
69 }; | 68 }; |
70 | 69 |
71 } // namespace sessions | 70 } // namespace sessions |
72 } // namespace syncer | 71 } // namespace syncer |
73 | 72 |
74 #endif // SYNC_SESSIONS_MODEL_NEUTRAL_STATE_H_ | 73 #endif // SYNC_SESSIONS_MODEL_NEUTRAL_STATE_H_ |
OLD | NEW |