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

Unified Diff: sync/syncable/scoped_parent_child_index_updater.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/syncable/scoped_kernel_lock.cc ('k') | sync/syncable/scoped_parent_child_index_updater.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/syncable/scoped_parent_child_index_updater.h
diff --git a/sync/syncable/scoped_parent_child_index_updater.h b/sync/syncable/scoped_parent_child_index_updater.h
deleted file mode 100644
index 0c6dedd4eda3af7929c0da3b9870df1fcd608a2d..0000000000000000000000000000000000000000
--- a/sync/syncable/scoped_parent_child_index_updater.h
+++ /dev/null
@@ -1,37 +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_SYNCABLE_SCOPED_PARENT_CHILD_INDEX_UPDATER_H_
-#define SYNC_SYNCABLE_SCOPED_PARENT_CHILD_INDEX_UPDATER_H_
-
-#include "base/macros.h"
-#include "sync/base/sync_export.h"
-
-namespace syncer {
-namespace syncable {
-
-class ParentChildIndex;
-class ScopedKernelLock;
-struct EntryKernel;
-
-// Temporarily removes an item from the ParentChildIndex and re-adds it this
-// object goes out of scope.
-class ScopedParentChildIndexUpdater {
- public:
- ScopedParentChildIndexUpdater(const ScopedKernelLock& proof_of_lock,
- EntryKernel* entry,
- ParentChildIndex* index);
- ~ScopedParentChildIndexUpdater();
-
- private:
- EntryKernel* entry_;
- ParentChildIndex* index_;
-
- DISALLOW_COPY_AND_ASSIGN(ScopedParentChildIndexUpdater);
-};
-
-} // namespace syncable
-} // namespace syncer
-
-#endif // SYNC_SYNCABLE_SCOPED_PARENT_CHILD_INDEX_UPDATER_H_
« no previous file with comments | « sync/syncable/scoped_kernel_lock.cc ('k') | sync/syncable/scoped_parent_child_index_updater.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698