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

Side by Side Diff: sync/engine/update_applicator.h

Issue 9699057: [Sync] Move 'sync' target to sync/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address Tim's comments Created 8 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « sync/engine/syncproto_unittest.cc ('k') | sync/engine/update_applicator.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 // An UpdateApplicator is used to iterate over a number of unapplied updates, 5 // An UpdateApplicator is used to iterate over a number of unapplied updates,
6 // applying them to the client using the given syncer session. 6 // applying them to the client using the given syncer session.
7 // 7 //
8 // UpdateApplicator might resemble an iterator, but it actually keeps retrying 8 // UpdateApplicator might resemble an iterator, but it actually keeps retrying
9 // failed updates until no remaining updates can be successfully applied. 9 // failed updates until no remaining updates can be successfully applied.
10 10
11 #ifndef CHROME_BROWSER_SYNC_ENGINE_UPDATE_APPLICATOR_H_ 11 #ifndef SYNC_ENGINE_UPDATE_APPLICATOR_H_
12 #define CHROME_BROWSER_SYNC_ENGINE_UPDATE_APPLICATOR_H_ 12 #define SYNC_ENGINE_UPDATE_APPLICATOR_H_
13 #pragma once 13 #pragma once
14 14
15 #include <vector> 15 #include <vector>
16 16
17 #include "base/basictypes.h" 17 #include "base/basictypes.h"
18 #include "base/port.h" 18 #include "base/port.h"
19 #include "chrome/browser/sync/engine/model_safe_worker.h" 19 #include "sync/engine/model_safe_worker.h"
20 #include "chrome/browser/sync/syncable/syncable.h" 20 #include "sync/syncable/syncable.h"
21 21
22 namespace browser_sync { 22 namespace browser_sync {
23 23
24 namespace sessions { 24 namespace sessions {
25 class ConflictProgress; 25 class ConflictProgress;
26 class UpdateProgress; 26 class UpdateProgress;
27 } 27 }
28 28
29 class ConflictResolver; 29 class ConflictResolver;
30 class Cryptographer; 30 class Cryptographer;
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 const ModelSafeRoutingInfo routing_info_; 100 const ModelSafeRoutingInfo routing_info_;
101 101
102 // Track the result of the attempts to update applications. 102 // Track the result of the attempts to update applications.
103 ResultTracker application_results_; 103 ResultTracker application_results_;
104 104
105 DISALLOW_COPY_AND_ASSIGN(UpdateApplicator); 105 DISALLOW_COPY_AND_ASSIGN(UpdateApplicator);
106 }; 106 };
107 107
108 } // namespace browser_sync 108 } // namespace browser_sync
109 109
110 #endif // CHROME_BROWSER_SYNC_ENGINE_UPDATE_APPLICATOR_H_ 110 #endif // SYNC_ENGINE_UPDATE_APPLICATOR_H_
OLDNEW
« no previous file with comments | « sync/engine/syncproto_unittest.cc ('k') | sync/engine/update_applicator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698