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

Unified Diff: sync/api/sync_change_processor_wrapper_for_test.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/sync_change_processor.cc ('k') | sync/api/sync_change_processor_wrapper_for_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/api/sync_change_processor_wrapper_for_test.h
diff --git a/sync/api/sync_change_processor_wrapper_for_test.h b/sync/api/sync_change_processor_wrapper_for_test.h
deleted file mode 100644
index 73378cb5f7c6b81d90fef55b82b50bcd36f11dca..0000000000000000000000000000000000000000
--- a/sync/api/sync_change_processor_wrapper_for_test.h
+++ /dev/null
@@ -1,38 +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 SYNC_API_SYNC_CHANGE_PROCESSOR_WRAPPER_FOR_TEST_H_
-#define SYNC_API_SYNC_CHANGE_PROCESSOR_WRAPPER_FOR_TEST_H_
-
-#include "base/macros.h"
-#include "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(
- syncer::SyncChangeProcessor* wrapped);
- ~SyncChangeProcessorWrapperForTest() override;
-
- // SyncChangeProcessor implementation.
- syncer::SyncError ProcessSyncChanges(
- const tracked_objects::Location& from_here,
- const syncer::SyncChangeList& change_list) override;
- syncer::SyncDataList GetAllSyncData(syncer::ModelType type) const override;
-
- private:
- syncer::SyncChangeProcessor* const wrapped_;
-
- DISALLOW_COPY_AND_ASSIGN(SyncChangeProcessorWrapperForTest);
-};
-
-} // namespace syncer
-
-#endif // SYNC_API_SYNC_CHANGE_PROCESSOR_WRAPPER_FOR_TEST_H_
« no previous file with comments | « sync/api/sync_change_processor.cc ('k') | sync/api/sync_change_processor_wrapper_for_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698