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_EVENT_PROCESSOR_H_ |
| 6 #define CHROME_BROWSER_SYNC_API_SYNC_EVENT_PROCESSOR_H_ |
| 7 #pragma once |
| 8 |
| 9 #include <vector> |
| 10 |
| 11 class SyncEvent; |
| 12 |
| 13 typedef std::vector<SyncEvent> SyncEventList; |
| 14 |
| 15 // An interface for services that handle receiving SyncEvents. |
| 16 class SyncEventProcessor { |
| 17 public: |
| 18 virtual ~SyncEventProcessor() {} |
| 19 |
| 20 // Process a list of SyncEvents. |
| 21 virtual void ProcessSyncEvents(const SyncEventList& event_list) = 0; |
| 22 }; |
| 23 |
| 24 |
| 25 #endif // CHROME_BROWSER_SYNC_API_SYNC_EVENT_PROCESSOR_H_ |
OLD | NEW |