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_ENGINE_COMMIT_H_ | 5 #ifndef SYNC_ENGINE_COMMIT_H_ |
6 #define SYNC_ENGINE_COMMIT_H_ | 6 #define SYNC_ENGINE_COMMIT_H_ |
7 #pragma once | |
8 | 7 |
9 #include "sync/internal_api/public/util/syncer_error.h" | 8 #include "sync/internal_api/public/util/syncer_error.h" |
10 | 9 |
11 namespace syncer { | 10 namespace syncer { |
12 | 11 |
13 namespace sessions { | 12 namespace sessions { |
14 class SyncSession; | 13 class SyncSession; |
15 } | 14 } |
16 | 15 |
17 class Syncer; | 16 class Syncer; |
(...skipping 10 matching lines...) Expand all Loading... |
28 // The SyncSession parameter contains pointers to various bits of state, | 27 // The SyncSession parameter contains pointers to various bits of state, |
29 // including the syncable::Directory that contains all sync items and the | 28 // including the syncable::Directory that contains all sync items and the |
30 // ServerConnectionManager used to contact the server. | 29 // ServerConnectionManager used to contact the server. |
31 SyncerError BuildAndPostCommits( | 30 SyncerError BuildAndPostCommits( |
32 Syncer* syncer, | 31 Syncer* syncer, |
33 sessions::SyncSession* session); | 32 sessions::SyncSession* session); |
34 | 33 |
35 } // namespace syncer | 34 } // namespace syncer |
36 | 35 |
37 #endif // SYNC_ENGINE_COMMIT_H_ | 36 #endif // SYNC_ENGINE_COMMIT_H_ |
OLD | NEW |