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

Side by Side Diff: components/sync/syncable/directory_unittest.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, 4 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef SYNC_SYNCABLE_DIRECTORY_UNITTEST_H_ 5 #ifndef COMPONENTS_SYNC_SYNCABLE_DIRECTORY_UNITTEST_H_
6 #define SYNC_SYNCABLE_DIRECTORY_UNITTEST_H_ 6 #define COMPONENTS_SYNC_SYNCABLE_DIRECTORY_UNITTEST_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
11 11
12 #include "base/message_loop/message_loop.h" 12 #include "base/message_loop/message_loop.h"
13 #include "sync/syncable/in_memory_directory_backing_store.h" 13 #include "components/sync/base/test_unrecoverable_error_handler.h"
14 #include "sync/syncable/mutable_entry.h" 14 #include "components/sync/syncable/in_memory_directory_backing_store.h"
15 #include "sync/syncable/syncable_read_transaction.h" 15 #include "components/sync/syncable/mutable_entry.h"
16 #include "sync/syncable/syncable_write_transaction.h" 16 #include "components/sync/syncable/syncable_read_transaction.h"
17 #include "sync/test/engine/test_id_factory.h" 17 #include "components/sync/syncable/syncable_write_transaction.h"
18 #include "sync/test/fake_encryptor.h" 18 #include "components/sync/test/engine/test_id_factory.h"
19 #include "sync/test/null_directory_change_delegate.h" 19 #include "components/sync/test/fake_encryptor.h"
20 #include "sync/test/null_transaction_observer.h" 20 #include "components/sync/test/null_directory_change_delegate.h"
21 #include "sync/util/test_unrecoverable_error_handler.h" 21 #include "components/sync/test/null_transaction_observer.h"
22 #include "testing/gtest/include/gtest/gtest.h" 22 #include "testing/gtest/include/gtest/gtest.h"
23 23
24 namespace syncer { 24 namespace syncer {
25 25
26 namespace syncable { 26 namespace syncable {
27 27
28 class BaseTransaction; 28 class BaseTransaction;
29 29
30 // A test fixture for syncable::Directory. Uses an in-memory database to keep 30 // A test fixture for syncable::Directory. Uses an in-memory database to keep
31 // the unit tests fast. 31 // the unit tests fast.
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 NullDirectoryChangeDelegate delegate_; 105 NullDirectoryChangeDelegate delegate_;
106 FakeEncryptor encryptor_; 106 FakeEncryptor encryptor_;
107 TestUnrecoverableErrorHandler handler_; 107 TestUnrecoverableErrorHandler handler_;
108 sql::Connection connection_; 108 sql::Connection connection_;
109 }; 109 };
110 110
111 } // namespace syncable 111 } // namespace syncable
112 112
113 } // namespace syncer 113 } // namespace syncer
114 114
115 #endif // SYNC_SYNCABLE_DIRECTORY_UNITTEST_H_ 115 #endif // COMPONENTS_SYNC_SYNCABLE_DIRECTORY_UNITTEST_H_
OLDNEW
« no previous file with comments | « components/sync/syncable/directory_change_delegate.h ('k') | components/sync/syncable/directory_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698