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

Unified Diff: sync/syncable/syncable_model_neutral_write_transaction.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/syncable_id_unittest.cc ('k') | sync/syncable/syncable_model_neutral_write_transaction.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/syncable/syncable_model_neutral_write_transaction.h
diff --git a/sync/syncable/syncable_model_neutral_write_transaction.h b/sync/syncable/syncable_model_neutral_write_transaction.h
deleted file mode 100644
index 62be03809207868e362e2eb942c09e35c3134d7f..0000000000000000000000000000000000000000
--- a/sync/syncable/syncable_model_neutral_write_transaction.h
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright 2013 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_SYNCABLE_MODEL_NEUTRAL_WRITE_TRANSACTION_H_
-#define SYNC_SYNCABLE_SYNCABLE_MODEL_NEUTRAL_WRITE_TRANSACTION_H_
-
-#include "base/macros.h"
-#include "sync/base/sync_export.h"
-#include "sync/syncable/metahandle_set.h"
-#include "sync/syncable/syncable_base_write_transaction.h"
-
-namespace syncer {
-namespace syncable {
-
-// A transaction used to instantiate Entries or ModelNeutralMutableEntries.
-//
-// This allows it to be used when making changes to sync entity properties that
-// do not need to be kept in sync with the associated native model.
-//
-// This class differs internally from WriteTransactions in that it does a less
-// good job of tracking and reporting on changes to the entries modified within
-// its scope. This is because its changes do not need to be reported to the
-// DirectoryChangeDelegate.
-class SYNC_EXPORT ModelNeutralWriteTransaction : public BaseWriteTransaction {
- public:
- ModelNeutralWriteTransaction(
- const tracked_objects::Location& location,
- WriterTag writer,
- Directory* directory);
- ~ModelNeutralWriteTransaction() override;
-
- void TrackChangesTo(const EntryKernel* entry) override;
-
- private:
- MetahandleSet modified_handles_;
-
- DISALLOW_COPY_AND_ASSIGN(ModelNeutralWriteTransaction);
-};
-
-} // namespace syncable
-} // namespace syncer
-
-#endif // SYNC_SYNCABLE_SYNCABLE_MODEL_NEUTRAL_WRITE_TRANSACTION_H_
« no previous file with comments | « sync/syncable/syncable_id_unittest.cc ('k') | sync/syncable/syncable_model_neutral_write_transaction.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698