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

Side by Side Diff: chrome/browser/sync/api/sync_change_processor.h

Issue 6995008: Implement new SyncAPI and convert Preferences to it. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix 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
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_SYNC_API_SYNC_CHANGE_PROCESSOR_H_
6 #define CHROME_BROWSER_SYNC_API_SYNC_CHANGE_PROCESSOR_H_
7 #pragma once
8
9 #include <vector>
10
11 class SyncChange;
12
13 typedef std::vector<SyncChange> SyncChangeList;
14
15 // An interface for services that handle receiving SyncChanges.
16 class SyncChangeProcessor {
17 public:
18 virtual ~SyncChangeProcessor() {}
akalin 2011/05/20 00:19:39 make destructor protected (nothing should delete v
Nicolas Zea 2011/05/20 02:00:28 Done.
19
20 // Process a list of SyncChanges.
21 virtual void ProcessSyncChanges(const SyncChangeList& change_list) = 0;
22 };
23
24
25 #endif // CHROME_BROWSER_SYNC_API_SYNC_CHANGE_PROCESSOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698