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

Unified Diff: components/sync/syncable/transaction_observer.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
Index: components/sync/syncable/transaction_observer.h
diff --git a/sync/syncable/transaction_observer.h b/components/sync/syncable/transaction_observer.h
similarity index 60%
rename from sync/syncable/transaction_observer.h
rename to components/sync/syncable/transaction_observer.h
index 64d7329d12632af7daa89dec5d2b501cb394785a..536b7cf20e65867125130964e8d92955fcc54e76 100644
--- a/sync/syncable/transaction_observer.h
+++ b/components/sync/syncable/transaction_observer.h
@@ -2,12 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef SYNC_SYNCABLE_TRANSACTION_OBSERVER_H_
-#define SYNC_SYNCABLE_TRANSACTION_OBSERVER_H_
+#ifndef COMPONENTS_SYNC_SYNCABLE_TRANSACTION_OBSERVER_H_
+#define COMPONENTS_SYNC_SYNCABLE_TRANSACTION_OBSERVER_H_
-#include "sync/base/sync_export.h"
-#include "sync/internal_api/public/base/model_type.h"
-#include "sync/syncable/write_transaction_info.h"
+#include "components/sync/base/model_type.h"
+#include "components/sync/base/sync_export.h"
+#include "components/sync/syncable/write_transaction_info.h"
namespace syncer {
namespace syncable {
@@ -17,6 +17,7 @@ class SYNC_EXPORT TransactionObserver {
virtual void OnTransactionWrite(
const ImmutableWriteTransactionInfo& write_transaction_info,
ModelTypeSet models_with_changes) = 0;
+
protected:
virtual ~TransactionObserver() {}
};
@@ -24,4 +25,4 @@ class SYNC_EXPORT TransactionObserver {
} // namespace syncable
} // namespace syncer
-#endif // SYNC_SYNCABLE_TRANSACTION_OBSERVER_H_
+#endif // COMPONENTS_SYNC_SYNCABLE_TRANSACTION_OBSERVER_H_
« no previous file with comments | « components/sync/syncable/syncable_write_transaction.cc ('k') | components/sync/syncable/write_transaction_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698