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

Side by Side Diff: chrome/browser/sync/syncable/syncable_unittest.cc

Issue 3108030: Move bundled copy of sqlite one level deeper to better separate it... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "chrome/browser/sync/syncable/syncable.h" 5 #include "chrome/browser/sync/syncable/syncable.h"
6 6
7 #include "build/build_config.h" 7 #include "build/build_config.h"
8 8
9 #include <sys/types.h> 9 #include <sys/types.h>
10 10
(...skipping 17 matching lines...) Expand all
28 #include "base/scoped_temp_dir.h" 28 #include "base/scoped_temp_dir.h"
29 #include "base/string_util.h" 29 #include "base/string_util.h"
30 #include "chrome/browser/sync/engine/syncproto.h" 30 #include "chrome/browser/sync/engine/syncproto.h"
31 #include "chrome/browser/sync/protocol/bookmark_specifics.pb.h" 31 #include "chrome/browser/sync/protocol/bookmark_specifics.pb.h"
32 #include "chrome/browser/sync/syncable/directory_backing_store.h" 32 #include "chrome/browser/sync/syncable/directory_backing_store.h"
33 #include "chrome/browser/sync/syncable/directory_manager.h" 33 #include "chrome/browser/sync/syncable/directory_manager.h"
34 #include "chrome/common/deprecated/event_sys-inl.h" 34 #include "chrome/common/deprecated/event_sys-inl.h"
35 #include "chrome/test/sync/engine/test_id_factory.h" 35 #include "chrome/test/sync/engine/test_id_factory.h"
36 #include "chrome/test/sync/engine/test_syncable_utils.h" 36 #include "chrome/test/sync/engine/test_syncable_utils.h"
37 #include "testing/gtest/include/gtest/gtest.h" 37 #include "testing/gtest/include/gtest/gtest.h"
38 #include "third_party/sqlite/preprocessed/sqlite3.h" 38 #include "third_party/sqlite/sqlite3.h"
39 39
40 using browser_sync::TestIdFactory; 40 using browser_sync::TestIdFactory;
41 using std::cout; 41 using std::cout;
42 using std::endl; 42 using std::endl;
43 using std::string; 43 using std::string;
44 44
45 namespace syncable { 45 namespace syncable {
46 46
47 namespace { 47 namespace {
48 void PutDataAsBookmarkFavicon(WriteTransaction* wtrans, 48 void PutDataAsBookmarkFavicon(WriteTransaction* wtrans,
(...skipping 1697 matching lines...) Expand 10 before | Expand all | Expand 10 after
1746 TEST_F(SyncableClientTagTest, TestClientTagIndexDuplicateServer) { 1746 TEST_F(SyncableClientTagTest, TestClientTagIndexDuplicateServer) {
1747 EXPECT_TRUE(CreateWithDefaultTag(factory_.NewServerId(), true)); 1747 EXPECT_TRUE(CreateWithDefaultTag(factory_.NewServerId(), true));
1748 EXPECT_FALSE(CreateWithDefaultTag(factory_.NewServerId(), true)); 1748 EXPECT_FALSE(CreateWithDefaultTag(factory_.NewServerId(), true));
1749 EXPECT_FALSE(CreateWithDefaultTag(factory_.NewServerId(), false)); 1749 EXPECT_FALSE(CreateWithDefaultTag(factory_.NewServerId(), false));
1750 EXPECT_FALSE(CreateWithDefaultTag(factory_.NewLocalId(), false)); 1750 EXPECT_FALSE(CreateWithDefaultTag(factory_.NewLocalId(), false));
1751 EXPECT_FALSE(CreateWithDefaultTag(factory_.NewLocalId(), true)); 1751 EXPECT_FALSE(CreateWithDefaultTag(factory_.NewLocalId(), true));
1752 } 1752 }
1753 1753
1754 } // namespace 1754 } // namespace
1755 } // namespace syncable 1755 } // namespace syncable
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/database_dispatcher_host.cc ('k') | chrome/common/database_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698