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

Side by Side Diff: components/sync/engine_impl/commit_contribution.h

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 4 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
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 #ifndef SYNC_ENGINE_COMMIT_CONTRIBUTION_H_ 5 #ifndef COMPONENTS_SYNC_ENGINE_IMPL_COMMIT_CONTRIBUTION_H_
6 #define SYNC_ENGINE_COMMIT_CONTRIBUTION_H_ 6 #define COMPONENTS_SYNC_ENGINE_IMPL_COMMIT_CONTRIBUTION_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include "sync/base/sync_export.h" 10 #include "components/sync/base/sync_export.h"
11 #include "sync/internal_api/public/util/syncer_error.h" 11 #include "components/sync/base/syncer_error.h"
12 #include "sync/protocol/sync.pb.h" 12 #include "components/sync/protocol/sync.pb.h"
13 #include "sync/sessions/status_controller.h" 13 #include "components/sync/sessions_impl/status_controller.h"
14 14
15 namespace syncer { 15 namespace syncer {
16 16
17 namespace sessions { 17 namespace sessions {
18 class StatusController; 18 class StatusController;
19 } // namespace sessions 19 } // namespace sessions
20 20
21 // This class represents a set of items belonging to a particular data type that 21 // This class represents a set of items belonging to a particular data type that
22 // have been selected from a CommitContributor and prepared for commit. 22 // have been selected from a CommitContributor and prepared for commit.
23 // 23 //
(...skipping 22 matching lines...) Expand all
46 // Cleans up any temproary state associated with the commit. Must be called 46 // Cleans up any temproary state associated with the commit. Must be called
47 // before destruction. 47 // before destruction.
48 virtual void CleanUp() = 0; 48 virtual void CleanUp() = 0;
49 49
50 // Returns the number of entries included in this contribution. 50 // Returns the number of entries included in this contribution.
51 virtual size_t GetNumEntries() const = 0; 51 virtual size_t GetNumEntries() const = 0;
52 }; 52 };
53 53
54 } // namespace syncer 54 } // namespace syncer
55 55
56 #endif // SYNC_ENGINE_COMMIT_CONTRIBUTION_H_ 56 #endif // COMPONENTS_SYNC_ENGINE_IMPL_COMMIT_CONTRIBUTION_H_
OLDNEW
« no previous file with comments | « components/sync/engine_impl/commit.cc ('k') | components/sync/engine_impl/commit_contribution.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698