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

Side by Side Diff: components/sync/engine_impl/loopback_server/loopback_server_entity.h

Issue 2662453008: [Sync] Fix sync lint errors/includes, update presubmit. (Closed)
Patch Set: Rebase 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
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_LOOPBACK_SERVER_LOOPBACK_SERVER_ENTITY_H_ 5 #ifndef COMPONENTS_SYNC_ENGINE_IMPL_LOOPBACK_SERVER_LOOPBACK_SERVER_ENTITY_H_
6 #define COMPONENTS_SYNC_ENGINE_IMPL_LOOPBACK_SERVER_LOOPBACK_SERVER_ENTITY_H_ 6 #define COMPONENTS_SYNC_ENGINE_IMPL_LOOPBACK_SERVER_LOOPBACK_SERVER_ENTITY_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
11 #include <memory>
11 #include <string> 12 #include <string>
12 13
13 #include "components/sync/base/model_type.h" 14 #include "components/sync/base/model_type.h"
14 #include "components/sync/protocol/loopback_server.pb.h" 15 #include "components/sync/protocol/loopback_server.pb.h"
15 #include "components/sync/protocol/sync.pb.h" 16 #include "components/sync/protocol/sync.pb.h"
16 17
17 namespace syncer { 18 namespace syncer {
18 19
19 // The representation of a Sync entity for the loopback server. 20 // The representation of a Sync entity for the loopback server.
20 class LoopbackServerEntity { 21 class LoopbackServerEntity {
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 // The name of the entity. 86 // The name of the entity.
86 std::string name_; 87 std::string name_;
87 88
88 // The EntitySpecifics for the entity. 89 // The EntitySpecifics for the entity.
89 sync_pb::EntitySpecifics specifics_; 90 sync_pb::EntitySpecifics specifics_;
90 }; 91 };
91 92
92 } // namespace syncer 93 } // namespace syncer
93 94
94 #endif // COMPONENTS_SYNC_ENGINE_IMPL_LOOPBACK_SERVER_LOOPBACK_SERVER_ENTITY_H_ 95 #endif // COMPONENTS_SYNC_ENGINE_IMPL_LOOPBACK_SERVER_LOOPBACK_SERVER_ENTITY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698