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

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

Issue 10700154: Remove #pragma once from sync (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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/syncer_util.h ('k') | sync/engine/throttled_data_type_tracker.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 (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 // Wrappers to help us work with ids and protobuffers. 5 // Wrappers to help us work with ids and protobuffers.
6 6
7 #ifndef SYNC_ENGINE_SYNCPROTO_H_ 7 #ifndef SYNC_ENGINE_SYNCPROTO_H_
8 #define SYNC_ENGINE_SYNCPROTO_H_ 8 #define SYNC_ENGINE_SYNCPROTO_H_
9 #pragma once
10 9
11 #include "sync/internal_api/public/base/model_type.h" 10 #include "sync/internal_api/public/base/model_type.h"
12 #include "sync/protocol/sync.pb.h" 11 #include "sync/protocol/sync.pb.h"
13 #include "sync/syncable/syncable_id.h" 12 #include "sync/syncable/syncable_id.h"
14 13
15 namespace syncer { 14 namespace syncer {
16 15
17 template<class Base> 16 template<class Base>
18 class IdWrapper : public Base { 17 class IdWrapper : public Base {
19 public: 18 public:
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 77
79 typedef sync_pb::CommitMessage CommitMessage; 78 typedef sync_pb::CommitMessage CommitMessage;
80 typedef sync_pb::ClientToServerResponse ClientToServerResponse; 79 typedef sync_pb::ClientToServerResponse ClientToServerResponse;
81 typedef sync_pb::CommitResponse CommitResponse; 80 typedef sync_pb::CommitResponse CommitResponse;
82 typedef sync_pb::GetUpdatesResponse GetUpdatesResponse; 81 typedef sync_pb::GetUpdatesResponse GetUpdatesResponse;
83 typedef sync_pb::GetUpdatesMessage GetUpdatesMessage; 82 typedef sync_pb::GetUpdatesMessage GetUpdatesMessage;
84 83
85 } // namespace syncer 84 } // namespace syncer
86 85
87 #endif // SYNC_ENGINE_SYNCPROTO_H_ 86 #endif // SYNC_ENGINE_SYNCPROTO_H_
OLDNEW
« no previous file with comments | « sync/engine/syncer_util.h ('k') | sync/engine/throttled_data_type_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698