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

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

Issue 6995008: Implement new SyncAPI and convert Preferences to it. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase and fix compile Created 9 years, 7 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 | « chrome/browser/sync/engine/syncer_util.cc ('k') | chrome/browser/sync/glue/change_processor.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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 CHROME_BROWSER_SYNC_ENGINE_SYNCPROTO_H_ 7 #ifndef CHROME_BROWSER_SYNC_ENGINE_SYNCPROTO_H_
8 #define CHROME_BROWSER_SYNC_ENGINE_SYNCPROTO_H_ 8 #define CHROME_BROWSER_SYNC_ENGINE_SYNCPROTO_H_
9 #pragma once 9 #pragma once
10 10
11 #include "chrome/browser/sync/protocol/bookmark_specifics.pb.h"
12 #include "chrome/browser/sync/protocol/password_specifics.pb.h"
13 #include "chrome/browser/sync/protocol/preference_specifics.pb.h"
14 #include "chrome/browser/sync/protocol/sync.pb.h" 11 #include "chrome/browser/sync/protocol/sync.pb.h"
15 #include "chrome/browser/sync/syncable/model_type.h" 12 #include "chrome/browser/sync/syncable/model_type.h"
16 #include "chrome/browser/sync/syncable/syncable_id.h" 13 #include "chrome/browser/sync/syncable/syncable_id.h"
17 14
18 namespace browser_sync { 15 namespace browser_sync {
19 16
20 template<class Base> 17 template<class Base>
21 class IdWrapper : public Base { 18 class IdWrapper : public Base {
22 public: 19 public:
23 IdWrapper() {} 20 IdWrapper() {}
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 78
82 typedef sync_pb::CommitMessage CommitMessage; 79 typedef sync_pb::CommitMessage CommitMessage;
83 typedef sync_pb::ClientToServerResponse ClientToServerResponse; 80 typedef sync_pb::ClientToServerResponse ClientToServerResponse;
84 typedef sync_pb::CommitResponse CommitResponse; 81 typedef sync_pb::CommitResponse CommitResponse;
85 typedef sync_pb::GetUpdatesResponse GetUpdatesResponse; 82 typedef sync_pb::GetUpdatesResponse GetUpdatesResponse;
86 typedef sync_pb::GetUpdatesMessage GetUpdatesMessage; 83 typedef sync_pb::GetUpdatesMessage GetUpdatesMessage;
87 84
88 } // namespace browser_sync 85 } // namespace browser_sync
89 86
90 #endif // CHROME_BROWSER_SYNC_ENGINE_SYNCPROTO_H_ 87 #endif // CHROME_BROWSER_SYNC_ENGINE_SYNCPROTO_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync/engine/syncer_util.cc ('k') | chrome/browser/sync/glue/change_processor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698