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

Side by Side Diff: components/sync/engine_impl/non_blocking_type_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_NON_BLOCKING_TYPE_COMMIT_CONTRIBUTION_H_ 5 #ifndef COMPONENTS_SYNC_ENGINE_IMPL_NON_BLOCKING_TYPE_COMMIT_CONTRIBUTION_H_
6 #define SYNC_ENGINE_NON_BLOCKING_TYPE_COMMIT_CONTRIBUTION_H_ 6 #define COMPONENTS_SYNC_ENGINE_IMPL_NON_BLOCKING_TYPE_COMMIT_CONTRIBUTION_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "sync/engine/commit_contribution.h" 14 #include "components/sync/engine_impl/commit_contribution.h"
15 #include "sync/protocol/sync.pb.h" 15 #include "components/sync/protocol/sync.pb.h"
16 16
17 namespace syncer_v2 { 17 namespace syncer_v2 {
18 18
19 class ModelTypeWorker; 19 class ModelTypeWorker;
20 20
21 // A non-blocking sync type's contribution to an outgoing commit message. 21 // A non-blocking sync type's contribution to an outgoing commit message.
22 // 22 //
23 // Helps build a commit message and process its response. It collaborates 23 // Helps build a commit message and process its response. It collaborates
24 // closely with the ModelTypeWorker. 24 // closely with the ModelTypeWorker.
25 class NonBlockingTypeCommitContribution : public syncer::CommitContribution { 25 class NonBlockingTypeCommitContribution : public syncer::CommitContribution {
(...skipping 28 matching lines...) Expand all
54 54
55 // A flag used to ensure this object's contract is respected. Helps to check 55 // A flag used to ensure this object's contract is respected. Helps to check
56 // that CleanUp() is called before the object is destructed. 56 // that CleanUp() is called before the object is destructed.
57 bool cleaned_up_; 57 bool cleaned_up_;
58 58
59 DISALLOW_COPY_AND_ASSIGN(NonBlockingTypeCommitContribution); 59 DISALLOW_COPY_AND_ASSIGN(NonBlockingTypeCommitContribution);
60 }; 60 };
61 61
62 } // namespace syncer_v2 62 } // namespace syncer_v2
63 63
64 #endif // SYNC_ENGINE_NON_BLOCKING_TYPE_COMMIT_CONTRIBUTION_H_ 64 #endif // COMPONENTS_SYNC_ENGINE_IMPL_NON_BLOCKING_TYPE_COMMIT_CONTRIBUTION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698