OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 "sync/syncable/directory_backing_store.h" | 5 #include "sync/syncable/directory_backing_store.h" |
6 | 6 |
7 #include "build/build_config.h" | 7 #include "build/build_config.h" |
8 | 8 |
9 #include <limits> | 9 #include <limits> |
10 | 10 |
11 #include "base/base64.h" | 11 #include "base/base64.h" |
12 #include "base/debug/trace_event.h" | 12 #include "base/debug/trace_event.h" |
13 #include "base/logging.h" | 13 #include "base/logging.h" |
14 #include "base/rand_util.h" | 14 #include "base/rand_util.h" |
15 #include "base/stringprintf.h" | 15 #include "base/strings/stringprintf.h" |
16 #include "base/time.h" | 16 #include "base/time.h" |
17 #include "sql/connection.h" | 17 #include "sql/connection.h" |
18 #include "sql/statement.h" | 18 #include "sql/statement.h" |
19 #include "sql/transaction.h" | 19 #include "sql/transaction.h" |
20 #include "sync/internal_api/public/base/node_ordinal.h" | 20 #include "sync/internal_api/public/base/node_ordinal.h" |
21 #include "sync/protocol/bookmark_specifics.pb.h" | 21 #include "sync/protocol/bookmark_specifics.pb.h" |
22 #include "sync/protocol/sync.pb.h" | 22 #include "sync/protocol/sync.pb.h" |
23 #include "sync/syncable/syncable-inl.h" | 23 #include "sync/syncable/syncable-inl.h" |
24 #include "sync/syncable/syncable_columns.h" | 24 #include "sync/syncable/syncable_columns.h" |
25 #include "sync/syncable/syncable_util.h" | 25 #include "sync/syncable/syncable_util.h" |
(...skipping 1466 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1492 } | 1492 } |
1493 query.append(" ) "); | 1493 query.append(" ) "); |
1494 values.append(" )"); | 1494 values.append(" )"); |
1495 query.append(values); | 1495 query.append(values); |
1496 save_statement->Assign(db_->GetUniqueStatement( | 1496 save_statement->Assign(db_->GetUniqueStatement( |
1497 base::StringPrintf(query.c_str(), "metas").c_str())); | 1497 base::StringPrintf(query.c_str(), "metas").c_str())); |
1498 } | 1498 } |
1499 | 1499 |
1500 } // namespace syncable | 1500 } // namespace syncable |
1501 } // namespace syncer | 1501 } // namespace syncer |
OLD | NEW |