fake_sync_change_processor.h revision 5d1f7b1de12d16ceb2c938c56701a3e8bfa558f7
1// Copyright 2013 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 SYNC_API_FAKE_SYNC_CHANGE_PROCESSOR_H_
6#define SYNC_API_FAKE_SYNC_CHANGE_PROCESSOR_H_
7
8#include "sync/api/sync_change_processor.h"
9
10namespace syncer {
11
12class FakeSyncChangeProcessor : public SyncChangeProcessor {
13 public:
14  FakeSyncChangeProcessor();
15  virtual ~FakeSyncChangeProcessor();
16
17  virtual syncer::SyncError ProcessSyncChanges(
18      const tracked_objects::Location& from_here,
19      const syncer::SyncChangeList& change_list) OVERRIDE;
20
21  virtual syncer::SyncDataList GetAllSyncData(syncer::ModelType type)
22      const OVERRIDE;
23};
24
25}  // namespace syncer
26
27#endif  // SYNC_API_FAKE_SYNC_CHANGE_PROCESSOR_H_
28