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

Side by Side Diff: components/sync/engine_impl/worker_entity_tracker.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_WORKER_ENTITY_TRACKER_H_ 5 #ifndef COMPONENTS_SYNC_ENGINE_IMPL_WORKER_ENTITY_TRACKER_H_
6 #define SYNC_ENGINE_WORKER_ENTITY_TRACKER_H_ 6 #define COMPONENTS_SYNC_ENGINE_IMPL_WORKER_ENTITY_TRACKER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
11 #include <string> 11 #include <string>
12 12
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/time/time.h" 14 #include "base/time/time.h"
15 #include "sync/base/sync_export.h" 15 #include "components/sync/base/sync_export.h"
16 #include "sync/protocol/sync.pb.h" 16 #include "components/sync/protocol/sync.pb.h"
17 17
18 namespace syncer_v2 { 18 namespace syncer_v2 {
19 struct CommitRequestData; 19 struct CommitRequestData;
20 struct CommitResponseData; 20 struct CommitResponseData;
21 struct UpdateResponseData; 21 struct UpdateResponseData;
22 22
23 // Manages the pending commit and update state for an entity on the sync 23 // Manages the pending commit and update state for an entity on the sync
24 // thread. 24 // thread.
25 // 25 //
26 // It should be considered a helper class internal to the 26 // It should be considered a helper class internal to the
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 // An update for this entity which can't be applied right now. The presence 115 // An update for this entity which can't be applied right now. The presence
116 // of an pending update prevents commits. As of this writing, the only 116 // of an pending update prevents commits. As of this writing, the only
117 // source of pending updates is updates that can't currently be decrypted. 117 // source of pending updates is updates that can't currently be decrypted.
118 std::unique_ptr<UpdateResponseData> encrypted_update_; 118 std::unique_ptr<UpdateResponseData> encrypted_update_;
119 119
120 DISALLOW_COPY_AND_ASSIGN(WorkerEntityTracker); 120 DISALLOW_COPY_AND_ASSIGN(WorkerEntityTracker);
121 }; 121 };
122 122
123 } // namespace syncer_v2 123 } // namespace syncer_v2
124 124
125 #endif // SYNC_ENGINE_WORKER_ENTITY_TRACKER_H_ 125 #endif // COMPONENTS_SYNC_ENGINE_IMPL_WORKER_ENTITY_TRACKER_H_
OLDNEW
« no previous file with comments | « components/sync/engine_impl/update_handler.cc ('k') | components/sync/engine_impl/worker_entity_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698