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

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

Issue 9699057: [Sync] Move 'sync' target to sync/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address Tim's comments Created 8 years, 9 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
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 CHROME_BROWSER_SYNC_TEST_TEST_DIRECTORY_BACKING_STORE_H_ 5 #ifndef SYNC_TEST_TEST_DIRECTORY_BACKING_STORE_H_
6 #define CHROME_BROWSER_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 "chrome/browser/sync/syncable/directory_backing_store.h" 10 #include "sync/syncable/directory_backing_store.h"
11 11
12 namespace syncable { 12 namespace syncable {
13 13
14 // This implementation of DirectoryBackingStore does not manage its own 14 // This implementation of DirectoryBackingStore does not manage its own
15 // database. This makes it more flexible (and more complex) than the 15 // database. This makes it more flexible (and more complex) than the
16 // InMemoryDirectoryBackingStore. 16 // InMemoryDirectoryBackingStore.
17 class TestDirectoryBackingStore : public DirectoryBackingStore { 17 class TestDirectoryBackingStore : public DirectoryBackingStore {
18 public: 18 public:
19 // This constructor takes a handle to a database. The caller maintains 19 // This constructor takes a handle to a database. The caller maintains
20 // ownership of this handle. 20 // ownership of this handle.
(...skipping 22 matching lines...) Expand all
43 FRIEND_TEST_ALL_PREFIXES(DirectoryBackingStoreTest, ModelTypeIds); 43 FRIEND_TEST_ALL_PREFIXES(DirectoryBackingStoreTest, ModelTypeIds);
44 FRIEND_TEST_ALL_PREFIXES(DirectoryBackingStoreTest, Corruption); 44 FRIEND_TEST_ALL_PREFIXES(DirectoryBackingStoreTest, Corruption);
45 FRIEND_TEST_ALL_PREFIXES(DirectoryBackingStoreTest, DeleteEntries); 45 FRIEND_TEST_ALL_PREFIXES(DirectoryBackingStoreTest, DeleteEntries);
46 FRIEND_TEST_ALL_PREFIXES(DirectoryBackingStoreTest, GenerateCacheGUID); 46 FRIEND_TEST_ALL_PREFIXES(DirectoryBackingStoreTest, GenerateCacheGUID);
47 FRIEND_TEST_ALL_PREFIXES(MigrationTest, ToCurrentVersion); 47 FRIEND_TEST_ALL_PREFIXES(MigrationTest, ToCurrentVersion);
48 friend class MigrationTest; 48 friend class MigrationTest;
49 }; 49 };
50 50
51 } // namespace syncable 51 } // namespace syncable
52 52
53 #endif // CHROME_BROWSER_SYNC_TEST_TEST_DIRECTORY_BACKING_STORE_H_ 53 #endif // SYNC_TEST_TEST_DIRECTORY_BACKING_STORE_H_
OLDNEW
« no previous file with comments | « sync/test/sessions/test_scoped_session_event_listener.h ('k') | sync/test/test_directory_backing_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698