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

Side by Side Diff: sync/syncable/directory_backing_store_unittest.cc

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
« no previous file with comments | « sync/syncable/directory_backing_store.cc ('k') | sync/syncable/directory_change_delegate.h » ('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 #include "testing/gtest/include/gtest/gtest.h" 5 #include "testing/gtest/include/gtest/gtest.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/file_path.h" 9 #include "base/file_path.h"
10 #include "base/file_util.h" 10 #include "base/file_util.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "base/scoped_temp_dir.h" 12 #include "base/scoped_temp_dir.h"
13 #include "base/stl_util.h" 13 #include "base/stl_util.h"
14 #include "base/string_number_conversions.h" 14 #include "base/string_number_conversions.h"
15 #include "chrome/browser/sync/syncable/directory_backing_store.h" 15 #include "sync/syncable/directory_backing_store.h"
16 #include "chrome/browser/sync/syncable/on_disk_directory_backing_store.h" 16 #include "sync/syncable/on_disk_directory_backing_store.h"
17 #include "chrome/browser/sync/syncable/syncable-inl.h" 17 #include "sync/syncable/syncable-inl.h"
18 #include "chrome/browser/sync/syncable/syncable.h" 18 #include "sync/syncable/syncable.h"
19 #include "chrome/browser/sync/test/test_directory_backing_store.h" 19 #include "sync/test/test_directory_backing_store.h"
20 #include "chrome/browser/sync/util/time.h" 20 #include "sync/util/time.h"
21 #include "sql/connection.h" 21 #include "sql/connection.h"
22 #include "sql/statement.h" 22 #include "sql/statement.h"
23 #include "sync/protocol/bookmark_specifics.pb.h" 23 #include "sync/protocol/bookmark_specifics.pb.h"
24 #include "sync/protocol/sync.pb.h" 24 #include "sync/protocol/sync.pb.h"
25 #include "testing/gtest/include/gtest/gtest-param-test.h" 25 #include "testing/gtest/include/gtest/gtest-param-test.h"
26 26
27 namespace syncable { 27 namespace syncable {
28 28
29 extern const int32 kCurrentDBVersion; 29 extern const int32 kCurrentDBVersion;
30 30
(...skipping 2122 matching lines...) Expand 10 before | Expand all | Expand 10 after
2153 const std::string& guid1 = TestDirectoryBackingStore::GenerateCacheGUID(); 2153 const std::string& guid1 = TestDirectoryBackingStore::GenerateCacheGUID();
2154 const std::string& guid2 = TestDirectoryBackingStore::GenerateCacheGUID(); 2154 const std::string& guid2 = TestDirectoryBackingStore::GenerateCacheGUID();
2155 EXPECT_EQ(24U, guid1.size()); 2155 EXPECT_EQ(24U, guid1.size());
2156 EXPECT_EQ(24U, guid2.size()); 2156 EXPECT_EQ(24U, guid2.size());
2157 // In theory this test can fail, but it won't before the universe 2157 // In theory this test can fail, but it won't before the universe
2158 // dies of heat death. 2158 // dies of heat death.
2159 EXPECT_NE(guid1, guid2); 2159 EXPECT_NE(guid1, guid2);
2160 } 2160 }
2161 2161
2162 } // namespace syncable 2162 } // namespace syncable
OLDNEW
« no previous file with comments | « sync/syncable/directory_backing_store.cc ('k') | sync/syncable/directory_change_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698