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

Unified Diff: sync/test/null_directory_change_delegate.cc

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/test/null_directory_change_delegate.h ('k') | sync/test/null_transaction_observer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/test/null_directory_change_delegate.cc
diff --git a/sync/test/null_directory_change_delegate.cc b/sync/test/null_directory_change_delegate.cc
deleted file mode 100644
index e9793ef3003a6ce722def0b7a5e2cf602fb11c66..0000000000000000000000000000000000000000
--- a/sync/test/null_directory_change_delegate.cc
+++ /dev/null
@@ -1,46 +0,0 @@
-// Copyright (c) 2012 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.
-
-#include <stdint.h>
-
-#include "sync/test/null_directory_change_delegate.h"
-
-namespace syncer {
-namespace syncable {
-
-NullDirectoryChangeDelegate::~NullDirectoryChangeDelegate() {}
-
-void NullDirectoryChangeDelegate::HandleCalculateChangesChangeEventFromSyncApi(
- const ImmutableWriteTransactionInfo& write_transaction_info,
- BaseTransaction* trans,
- std::vector<int64_t>* entries_changed) {
- for (EntryKernelMutationMap::const_iterator it =
- write_transaction_info.Get().mutations.Get().begin();
- it != write_transaction_info.Get().mutations.Get().end(); ++it) {
- entries_changed->push_back(it->first);
- }
-}
-
-void NullDirectoryChangeDelegate::HandleCalculateChangesChangeEventFromSyncer(
- const ImmutableWriteTransactionInfo& write_transaction_info,
- BaseTransaction* trans,
- std::vector<int64_t>* entries_changed) {
- for (EntryKernelMutationMap::const_iterator it =
- write_transaction_info.Get().mutations.Get().begin();
- it != write_transaction_info.Get().mutations.Get().end(); ++it) {
- entries_changed->push_back(it->first);
- }
-}
-
-ModelTypeSet NullDirectoryChangeDelegate::HandleTransactionEndingChangeEvent(
- const ImmutableWriteTransactionInfo& write_transaction_info,
- BaseTransaction* trans) {
- return ModelTypeSet();
-}
-
-void NullDirectoryChangeDelegate::HandleTransactionCompleteChangeEvent(
- ModelTypeSet models_with_changes) {}
-
-} // namespace syncable
-} // namespace syncer
« no previous file with comments | « sync/test/null_directory_change_delegate.h ('k') | sync/test/null_transaction_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698