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

Side by Side Diff: sync/test/test_directory_backing_store.h

Issue 10699044: [Sync] Move sync/{internal_api,syncable} into syncer namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync to head Created 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « sync/test/null_transaction_observer.cc ('k') | sync/test/test_directory_backing_store.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 SYNC_TEST_TEST_DIRECTORY_BACKING_STORE_H_
6 #define SYNC_TEST_TEST_DIRECTORY_BACKING_STORE_H_ 6 #define SYNC_TEST_TEST_DIRECTORY_BACKING_STORE_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/gtest_prod_util.h" 9 #include "base/gtest_prod_util.h"
10 #include "sync/syncable/directory_backing_store.h" 10 #include "sync/syncable/directory_backing_store.h"
11 11
12 namespace syncer {
12 namespace syncable { 13 namespace syncable {
13 14
14 // This implementation of DirectoryBackingStore does not manage its own 15 // This implementation of DirectoryBackingStore does not manage its own
15 // database. This makes it more flexible (and more complex) than the 16 // database. This makes it more flexible (and more complex) than the
16 // InMemoryDirectoryBackingStore. 17 // InMemoryDirectoryBackingStore.
17 class TestDirectoryBackingStore : public DirectoryBackingStore { 18 class TestDirectoryBackingStore : public DirectoryBackingStore {
18 public: 19 public:
19 // This constructor takes a handle to a database. The caller maintains 20 // This constructor takes a handle to a database. The caller maintains
20 // ownership of this handle. 21 // ownership of this handle.
21 // 22 //
(...skipping 20 matching lines...) Expand all
42 FRIEND_TEST_ALL_PREFIXES(DirectoryBackingStoreTest, MigrateVersion77To78); 43 FRIEND_TEST_ALL_PREFIXES(DirectoryBackingStoreTest, MigrateVersion77To78);
43 FRIEND_TEST_ALL_PREFIXES(DirectoryBackingStoreTest, ModelTypeIds); 44 FRIEND_TEST_ALL_PREFIXES(DirectoryBackingStoreTest, ModelTypeIds);
44 FRIEND_TEST_ALL_PREFIXES(DirectoryBackingStoreTest, Corruption); 45 FRIEND_TEST_ALL_PREFIXES(DirectoryBackingStoreTest, Corruption);
45 FRIEND_TEST_ALL_PREFIXES(DirectoryBackingStoreTest, DeleteEntries); 46 FRIEND_TEST_ALL_PREFIXES(DirectoryBackingStoreTest, DeleteEntries);
46 FRIEND_TEST_ALL_PREFIXES(DirectoryBackingStoreTest, GenerateCacheGUID); 47 FRIEND_TEST_ALL_PREFIXES(DirectoryBackingStoreTest, GenerateCacheGUID);
47 FRIEND_TEST_ALL_PREFIXES(MigrationTest, ToCurrentVersion); 48 FRIEND_TEST_ALL_PREFIXES(MigrationTest, ToCurrentVersion);
48 friend class MigrationTest; 49 friend class MigrationTest;
49 }; 50 };
50 51
51 } // namespace syncable 52 } // namespace syncable
53 } // namespace syncer
52 54
53 #endif // SYNC_TEST_TEST_DIRECTORY_BACKING_STORE_H_ 55 #endif // SYNC_TEST_TEST_DIRECTORY_BACKING_STORE_H_
OLDNEW
« no previous file with comments | « sync/test/null_transaction_observer.cc ('k') | sync/test/test_directory_backing_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698