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

Unified Diff: components/sync/test/test_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/test/test_transaction_observer.h
diff --git a/sync/test/test_transaction_observer.h b/components/sync/test/test_transaction_observer.h
similarity index 69%
rename from sync/test/test_transaction_observer.h
rename to components/sync/test/test_transaction_observer.h
index 005479e9ecc1b0e8fe203b6354b3b93ef914a930..44bc3300f057ace4faa322109f27ed297df3dc44 100644
--- a/sync/test/test_transaction_observer.h
+++ b/components/sync/test/test_transaction_observer.h
@@ -2,23 +2,23 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef SYNC_TEST_TEST_TRANSACTION_OBSERVER_H_
-#define SYNC_TEST_TEST_TRANSACTION_OBSERVER_H_
+#ifndef COMPONENTS_SYNC_TEST_TEST_TRANSACTION_OBSERVER_H_
+#define COMPONENTS_SYNC_TEST_TEST_TRANSACTION_OBSERVER_H_
#include "base/macros.h"
#include "base/memory/weak_ptr.h"
-#include "sync/internal_api/public/base/model_type.h"
-#include "sync/syncable/transaction_observer.h"
-#include "sync/syncable/write_transaction_info.h"
+#include "components/sync/base/model_type.h"
+#include "components/sync/syncable/transaction_observer.h"
+#include "components/sync/syncable/write_transaction_info.h"
namespace syncer {
namespace syncable {
// This class acts as a TransactionObserver for the syncable::Directory.
// It gathers information that is useful for writing test assertions.
-class TestTransactionObserver :
- public base::SupportsWeakPtr<TestTransactionObserver>,
- public TransactionObserver {
+class TestTransactionObserver
+ : public base::SupportsWeakPtr<TestTransactionObserver>,
+ public TransactionObserver {
public:
TestTransactionObserver();
~TestTransactionObserver() override;
@@ -42,5 +42,4 @@ class TestTransactionObserver :
} // namespace syncable
} // namespace syncer
-
-#endif // SYNC_TEST_TEST_TRANSACTION_OBSERVER_H_
+#endif // COMPONENTS_SYNC_TEST_TEST_TRANSACTION_OBSERVER_H_
« no previous file with comments | « components/sync/test/test_directory_backing_store.cc ('k') | components/sync/test/test_transaction_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698