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

Unified Diff: components/sync/api/sync_change_processor_wrapper_for_test.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
Index: components/sync/api/sync_change_processor_wrapper_for_test.h
diff --git a/components/sync/api/sync_change_processor_wrapper_for_test.h b/components/sync/api/sync_change_processor_wrapper_for_test.h
deleted file mode 100644
index 9f6ac9e30e7322c0630c9546bc0ff166ff6da44b..0000000000000000000000000000000000000000
--- a/components/sync/api/sync_change_processor_wrapper_for_test.h
+++ /dev/null
@@ -1,36 +0,0 @@
-// Copyright 2014 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_SYNC_CHANGE_PROCESSOR_WRAPPER_FOR_TEST_H_
-#define COMPONENTS_SYNC_API_SYNC_CHANGE_PROCESSOR_WRAPPER_FOR_TEST_H_
-
-#include "base/macros.h"
-#include "components/sync/api/sync_change_processor.h"
-
-namespace syncer {
-
-// A wrapper class for use in tests.
-class SyncChangeProcessorWrapperForTest : public SyncChangeProcessor {
- public:
- // Create a SyncChangeProcessorWrapperForTest.
- //
- // All method calls are forwarded to |wrapped|. Caller maintains ownership
- // of |wrapped| and is responsible for ensuring it outlives this object.
- explicit SyncChangeProcessorWrapperForTest(SyncChangeProcessor* wrapped);
- ~SyncChangeProcessorWrapperForTest() override;
-
- // SyncChangeProcessor implementation.
- SyncError ProcessSyncChanges(const tracked_objects::Location& from_here,
- const SyncChangeList& change_list) override;
- SyncDataList GetAllSyncData(ModelType type) const override;
-
- private:
- SyncChangeProcessor* const wrapped_;
-
- DISALLOW_COPY_AND_ASSIGN(SyncChangeProcessorWrapperForTest);
-};
-
-} // namespace syncer
-
-#endif // COMPONENTS_SYNC_API_SYNC_CHANGE_PROCESSOR_WRAPPER_FOR_TEST_H_
« no previous file with comments | « components/sync/api/sync_change_processor.cc ('k') | components/sync/api/sync_change_processor_wrapper_for_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698