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

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

Issue 2689773002: [Sync] Replace typedef with using. (Closed)
Patch Set: [Sync] Replace typedef with using. Created 3 years, 10 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
« no previous file with comments | « components/sync/engine_impl/syncer.h ('k') | components/sync/engine_impl/uss_migrator.h » ('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 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 COMPONENTS_SYNC_ENGINE_IMPL_UPDATE_HANDLER_H_ 5 #ifndef COMPONENTS_SYNC_ENGINE_IMPL_UPDATE_HANDLER_H_
6 #define COMPONENTS_SYNC_ENGINE_IMPL_UPDATE_HANDLER_H_ 6 #define COMPONENTS_SYNC_ENGINE_IMPL_UPDATE_HANDLER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "components/sync/base/syncer_error.h" 10 #include "components/sync/base/syncer_error.h"
11 11
12 namespace sync_pb { 12 namespace sync_pb {
13 class DataTypeContext; 13 class DataTypeContext;
14 class DataTypeProgressMarker; 14 class DataTypeProgressMarker;
15 class SyncEntity; 15 class SyncEntity;
16 } 16 }
17 17
18 typedef std::vector<const sync_pb::SyncEntity*> SyncEntityList; 18 using SyncEntityList = std::vector<const sync_pb::SyncEntity*>;
19 19
20 namespace syncer { 20 namespace syncer {
21 21
22 class StatusController; 22 class StatusController;
23 23
24 // This class represents an entity that can request, receive, and apply updates 24 // This class represents an entity that can request, receive, and apply updates
25 // from the sync server. 25 // from the sync server.
26 class UpdateHandler { 26 class UpdateHandler {
27 public: 27 public:
28 UpdateHandler(); 28 UpdateHandler();
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 virtual void ApplyUpdates(StatusController* status) = 0; 62 virtual void ApplyUpdates(StatusController* status) = 0;
63 63
64 // Called at the end of a configure GetUpdates loop to perform any required 64 // Called at the end of a configure GetUpdates loop to perform any required
65 // post-initial-download update application. 65 // post-initial-download update application.
66 virtual void PassiveApplyUpdates(StatusController* status) = 0; 66 virtual void PassiveApplyUpdates(StatusController* status) = 0;
67 }; 67 };
68 68
69 } // namespace syncer 69 } // namespace syncer
70 70
71 #endif // COMPONENTS_SYNC_ENGINE_IMPL_UPDATE_HANDLER_H_ 71 #endif // COMPONENTS_SYNC_ENGINE_IMPL_UPDATE_HANDLER_H_
OLDNEW
« no previous file with comments | « components/sync/engine_impl/syncer.h ('k') | components/sync/engine_impl/uss_migrator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698