OLD | NEW |
(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 // Process a list of SyncChanges. |
| 19 virtual void ProcessSyncChanges(const SyncChangeList& change_list) = 0; |
| 20 protected: |
| 21 virtual ~SyncChangeProcessor(); |
| 22 }; |
| 23 |
| 24 |
| 25 #endif // CHROME_BROWSER_SYNC_API_SYNC_CHANGE_PROCESSOR_H_ |
OLD | NEW |