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 #ifndef SYNC_ENGINE_COMMIT_CONTRIBUTION_H_ | 5 #ifndef SYNC_ENGINE_COMMIT_CONTRIBUTION_H_ |
6 #define SYNC_ENGINE_COMMIT_CONTRIBUTION_H_ | 6 #define SYNC_ENGINE_COMMIT_CONTRIBUTION_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include "sync/base/sync_export.h" | 10 #include "sync/base/sync_export.h" |
9 #include "sync/internal_api/public/util/syncer_error.h" | 11 #include "sync/internal_api/public/util/syncer_error.h" |
10 #include "sync/protocol/sync.pb.h" | 12 #include "sync/protocol/sync.pb.h" |
11 #include "sync/sessions/status_controller.h" | 13 #include "sync/sessions/status_controller.h" |
12 | 14 |
13 namespace syncer { | 15 namespace syncer { |
14 | 16 |
15 namespace sessions { | 17 namespace sessions { |
16 class StatusController; | 18 class StatusController; |
17 } // namespace sessions | 19 } // namespace sessions |
(...skipping 27 matching lines...) Expand all Loading... |
45 // before destruction. | 47 // before destruction. |
46 virtual void CleanUp() = 0; | 48 virtual void CleanUp() = 0; |
47 | 49 |
48 // Returns the number of entries included in this contribution. | 50 // Returns the number of entries included in this contribution. |
49 virtual size_t GetNumEntries() const = 0; | 51 virtual size_t GetNumEntries() const = 0; |
50 }; | 52 }; |
51 | 53 |
52 } // namespace syncer | 54 } // namespace syncer |
53 | 55 |
54 #endif // SYNC_ENGINE_COMMIT_CONTRIBUTION_H_ | 56 #endif // SYNC_ENGINE_COMMIT_CONTRIBUTION_H_ |
OLD | NEW |