| OLD | NEW | 
|     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  Loading... | 
|    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  Loading... | 
|  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 | 
| OLD | NEW |