| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 20 matching lines...) Expand all Loading... |
| 31 #include "base/at_exit.h" | 31 #include "base/at_exit.h" |
| 32 #include "base/file_path.h" | 32 #include "base/file_path.h" |
| 33 #include "base/file_util.h" | 33 #include "base/file_util.h" |
| 34 #include "base/logging.h" | 34 #include "base/logging.h" |
| 35 #include "base/platform_thread.h" | 35 #include "base/platform_thread.h" |
| 36 #include "base/scoped_ptr.h" | 36 #include "base/scoped_ptr.h" |
| 37 #include "chrome/browser/sync/syncable/directory_backing_store.h" | 37 #include "chrome/browser/sync/syncable/directory_backing_store.h" |
| 38 #include "chrome/browser/sync/syncable/directory_manager.h" | 38 #include "chrome/browser/sync/syncable/directory_manager.h" |
| 39 #include "chrome/browser/sync/util/closure.h" | 39 #include "chrome/browser/sync/util/closure.h" |
| 40 #include "chrome/browser/sync/util/event_sys-inl.h" | 40 #include "chrome/browser/sync/util/event_sys-inl.h" |
| 41 #include "chrome/browser/sync/util/query_helpers.h" | |
| 42 #include "chrome/test/sync/engine/test_id_factory.h" | 41 #include "chrome/test/sync/engine/test_id_factory.h" |
| 43 #include "chrome/test/sync/engine/test_syncable_utils.h" | 42 #include "chrome/test/sync/engine/test_syncable_utils.h" |
| 44 #include "testing/gtest/include/gtest/gtest.h" | 43 #include "testing/gtest/include/gtest/gtest.h" |
| 45 #include "third_party/sqlite/preprocessed/sqlite3.h" | 44 #include "third_party/sqlite/preprocessed/sqlite3.h" |
| 46 | 45 |
| 47 using browser_sync::TestIdFactory; | 46 using browser_sync::TestIdFactory; |
| 48 using std::cout; | 47 using std::cout; |
| 49 using std::endl; | 48 using std::endl; |
| 50 using std::string; | 49 using std::string; |
| 51 | 50 |
| (...skipping 1057 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1109 Blob value_blob(value, value + arraysize(value)); | 1108 Blob value_blob(value, value + arraysize(value)); |
| 1110 ext.mutable_value()->swap(value_blob); | 1109 ext.mutable_value()->swap(value_blob); |
| 1111 ext.delete_attribute(); | 1110 ext.delete_attribute(); |
| 1112 } | 1111 } |
| 1113 // This call to SaveChanges used to CHECK fail. | 1112 // This call to SaveChanges used to CHECK fail. |
| 1114 dir_.get()->SaveChanges(); | 1113 dir_.get()->SaveChanges(); |
| 1115 } | 1114 } |
| 1116 | 1115 |
| 1117 } // namespace | 1116 } // namespace |
| 1118 } // namespace syncable | 1117 } // namespace syncable |
| OLD | NEW |