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

Side by Side Diff: components/sync/test/test_directory_backing_store.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_TEST_TEST_DIRECTORY_BACKING_STORE_H_ 5 #ifndef COMPONENTS_SYNC_TEST_TEST_DIRECTORY_BACKING_STORE_H_
6 #define SYNC_TEST_TEST_DIRECTORY_BACKING_STORE_H_ 6 #define COMPONENTS_SYNC_TEST_TEST_DIRECTORY_BACKING_STORE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/gtest_prod_util.h" 10 #include "base/gtest_prod_util.h"
11 #include "sync/syncable/directory_backing_store.h" 11 #include "components/sync/syncable/directory_backing_store.h"
12 12
13 namespace syncer { 13 namespace syncer {
14 namespace syncable { 14 namespace syncable {
15 15
16 // This implementation of DirectoryBackingStore does not manage its own 16 // This implementation of DirectoryBackingStore does not manage its own
17 // database. This makes it more flexible (and more complex) than the 17 // database. This makes it more flexible (and more complex) than the
18 // InMemoryDirectoryBackingStore. 18 // InMemoryDirectoryBackingStore.
19 class TestDirectoryBackingStore : public DirectoryBackingStore { 19 class TestDirectoryBackingStore : public DirectoryBackingStore {
20 public: 20 public:
21 // This constructor takes a handle to a database. The caller maintains 21 // This constructor takes a handle to a database. The caller maintains
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 FRIEND_TEST_ALL_PREFIXES(DirectoryBackingStoreTest, DeleteEntries); 61 FRIEND_TEST_ALL_PREFIXES(DirectoryBackingStoreTest, DeleteEntries);
62 FRIEND_TEST_ALL_PREFIXES(DirectoryBackingStoreTest, GenerateCacheGUID); 62 FRIEND_TEST_ALL_PREFIXES(DirectoryBackingStoreTest, GenerateCacheGUID);
63 FRIEND_TEST_ALL_PREFIXES(MigrationTest, ToCurrentVersion); 63 FRIEND_TEST_ALL_PREFIXES(MigrationTest, ToCurrentVersion);
64 FRIEND_TEST_ALL_PREFIXES(DirectoryBackingStoreTest, MigrateToLatestAndDump); 64 FRIEND_TEST_ALL_PREFIXES(DirectoryBackingStoreTest, MigrateToLatestAndDump);
65 friend class MigrationTest; 65 friend class MigrationTest;
66 }; 66 };
67 67
68 } // namespace syncable 68 } // namespace syncable
69 } // namespace syncer 69 } // namespace syncer
70 70
71 #endif // SYNC_TEST_TEST_DIRECTORY_BACKING_STORE_H_ 71 #endif // COMPONENTS_SYNC_TEST_TEST_DIRECTORY_BACKING_STORE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698