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

Unified Diff: sync/api/fake_sync_change_processor.h

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sync/api/fake_model_type_service.cc ('k') | sync/api/fake_sync_change_processor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/api/fake_sync_change_processor.h
diff --git a/sync/api/fake_sync_change_processor.h b/sync/api/fake_sync_change_processor.h
deleted file mode 100644
index d34c4fc8bc21710171f54df1ff7fdce59f6a68da..0000000000000000000000000000000000000000
--- a/sync/api/fake_sync_change_processor.h
+++ /dev/null
@@ -1,59 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef SYNC_API_FAKE_SYNC_CHANGE_PROCESSOR_H_
-#define SYNC_API_FAKE_SYNC_CHANGE_PROCESSOR_H_
-
-#include <string>
-
-#include "base/macros.h"
-#include "sync/api/sync_change_processor.h"
-
-namespace syncer {
-
-class FakeSyncChangeProcessor : public SyncChangeProcessor {
- public:
- FakeSyncChangeProcessor();
- ~FakeSyncChangeProcessor() override;
-
- // SyncChangeProcessor implementation.
- //
- // ProcessSyncChanges will accumulate changes in changes() until they are
- // cleared.
- syncer::SyncError ProcessSyncChanges(
- const tracked_objects::Location& from_here,
- const syncer::SyncChangeList& change_list) override;
-
- // SyncChangeProcessor implementation.
- //
- // Returns data().
- syncer::SyncDataList GetAllSyncData(syncer::ModelType type) const override;
-
- // SyncChangeProcessor implementation.
- //
- // Updates context().
- syncer::SyncError UpdateDataTypeContext(ModelType type,
- ContextRefreshStatus refresh_status,
- const std::string& context) override;
-
- virtual const syncer::SyncChangeList& changes() const;
- virtual syncer::SyncChangeList& changes();
-
- virtual const syncer::SyncDataList& data() const;
- virtual syncer::SyncDataList& data();
-
- virtual const std::string& context() const;
- virtual std::string& context();
-
- private:
- syncer::SyncChangeList changes_;
- syncer::SyncDataList data_;
- std::string context_;
-
- DISALLOW_COPY_AND_ASSIGN(FakeSyncChangeProcessor);
-};
-
-} // namespace syncer
-
-#endif // SYNC_API_FAKE_SYNC_CHANGE_PROCESSOR_H_
« no previous file with comments | « sync/api/fake_model_type_service.cc ('k') | sync/api/fake_sync_change_processor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698