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

Unified Diff: components/sync/api/fake_sync_change_processor.h

Issue 2401223002: [Sync] Renaming sync/api* to sync/model*. (Closed)
Patch Set: Missed a comment in a DEPS file, and rebasing. Created 4 years, 2 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 | « components/sync/api/fake_model_type_service.cc ('k') | components/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: components/sync/api/fake_sync_change_processor.h
diff --git a/components/sync/api/fake_sync_change_processor.h b/components/sync/api/fake_sync_change_processor.h
deleted file mode 100644
index efd5fc3f7f4ec61b4db836d5cb628c220c41c072..0000000000000000000000000000000000000000
--- a/components/sync/api/fake_sync_change_processor.h
+++ /dev/null
@@ -1,60 +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 COMPONENTS_SYNC_API_FAKE_SYNC_CHANGE_PROCESSOR_H_
-#define COMPONENTS_SYNC_API_FAKE_SYNC_CHANGE_PROCESSOR_H_
-
-#include <string>
-
-#include "base/macros.h"
-#include "components/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.
- SyncError ProcessSyncChanges(const tracked_objects::Location& from_here,
- const SyncChangeList& change_list) override;
-
- // SyncChangeProcessor implementation.
- //
- // Returns data().
- SyncDataList GetAllSyncData(ModelType type) const override;
-
- // SyncChangeProcessor implementation.
- //
- // Updates context().
- SyncError UpdateDataTypeContext(ModelType type,
- ContextRefreshStatus refresh_status,
- const std::string& context) override;
- void AddLocalChangeObserver(LocalChangeObserver* observer) override;
- void RemoveLocalChangeObserver(LocalChangeObserver* observer) override;
-
- virtual const SyncChangeList& changes() const;
- virtual SyncChangeList& changes();
-
- virtual const SyncDataList& data() const;
- virtual SyncDataList& data();
-
- virtual const std::string& context() const;
- virtual std::string& context();
-
- private:
- SyncChangeList changes_;
- SyncDataList data_;
- std::string context_;
-
- DISALLOW_COPY_AND_ASSIGN(FakeSyncChangeProcessor);
-};
-
-} // namespace syncer
-
-#endif // COMPONENTS_SYNC_API_FAKE_SYNC_CHANGE_PROCESSOR_H_
« no previous file with comments | « components/sync/api/fake_model_type_service.cc ('k') | components/sync/api/fake_sync_change_processor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698