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/test/null_directory_change_delegate.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/test/mock_invalidation_tracker.cc ('k') | sync/test/null_directory_change_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/test/null_directory_change_delegate.h
diff --git a/sync/test/null_directory_change_delegate.h b/sync/test/null_directory_change_delegate.h
deleted file mode 100644
index 4a2799e9a6ca2f1280648977c943fb4024b4551e..0000000000000000000000000000000000000000
--- a/sync/test/null_directory_change_delegate.h
+++ /dev/null
@@ -1,41 +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.
-
-#ifndef SYNC_TEST_NULL_DIRECTORY_CHANGE_DELEGATE_H_
-#define SYNC_TEST_NULL_DIRECTORY_CHANGE_DELEGATE_H_
-
-#include <stdint.h>
-
-#include <vector>
-
-#include "base/compiler_specific.h"
-#include "sync/syncable/directory_change_delegate.h"
-
-namespace syncer {
-namespace syncable {
-
-// DirectoryChangeDelegate that does nothing in all delegate methods.
-class NullDirectoryChangeDelegate : public DirectoryChangeDelegate {
- public:
- ~NullDirectoryChangeDelegate() override;
-
- void HandleCalculateChangesChangeEventFromSyncApi(
- const ImmutableWriteTransactionInfo& write_transaction_info,
- BaseTransaction* trans,
- std::vector<int64_t>* entries_changed) override;
- void HandleCalculateChangesChangeEventFromSyncer(
- const ImmutableWriteTransactionInfo& write_transaction_info,
- BaseTransaction* trans,
- std::vector<int64_t>* entries_changed) override;
- ModelTypeSet HandleTransactionEndingChangeEvent(
- const ImmutableWriteTransactionInfo& write_transaction_info,
- BaseTransaction* trans) override;
- void HandleTransactionCompleteChangeEvent(
- ModelTypeSet models_with_changes) override;
-};
-
-} // namespace syncable
-} // namespace syncer
-
-#endif // SYNC_TEST_NULL_DIRECTORY_CHANGE_DELEGATE_H_
« no previous file with comments | « sync/test/mock_invalidation_tracker.cc ('k') | sync/test/null_directory_change_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698