| Index: sync/syncable/directory_backing_store.cc
|
| diff --git a/chrome/browser/sync/syncable/directory_backing_store.cc b/sync/syncable/directory_backing_store.cc
|
| similarity index 98%
|
| rename from chrome/browser/sync/syncable/directory_backing_store.cc
|
| rename to sync/syncable/directory_backing_store.cc
|
| index c409be4d08d5b6d5b543a4b6f0adc14158249d5a..c7395c3794475ad8fbf5ef38528c36513b660115 100644
|
| --- a/chrome/browser/sync/syncable/directory_backing_store.cc
|
| +++ b/sync/syncable/directory_backing_store.cc
|
| @@ -2,7 +2,7 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "chrome/browser/sync/syncable/directory_backing_store.h"
|
| +#include "sync/syncable/directory_backing_store.h"
|
|
|
| #include "build/build_config.h"
|
|
|
| @@ -18,15 +18,15 @@
|
| #include "base/string_number_conversions.h"
|
| #include "base/stringprintf.h"
|
| #include "base/time.h"
|
| -#include "chrome/browser/sync/protocol/service_constants.h"
|
| -#include "chrome/browser/sync/syncable/syncable-inl.h"
|
| -#include "chrome/browser/sync/syncable/syncable_columns.h"
|
| -#include "chrome/browser/sync/util/time.h"
|
| #include "sql/connection.h"
|
| #include "sql/statement.h"
|
| #include "sql/transaction.h"
|
| #include "sync/protocol/bookmark_specifics.pb.h"
|
| +#include "sync/protocol/service_constants.h"
|
| #include "sync/protocol/sync.pb.h"
|
| +#include "sync/syncable/syncable-inl.h"
|
| +#include "sync/syncable/syncable_columns.h"
|
| +#include "sync/util/time.h"
|
|
|
| using std::string;
|
|
|
| @@ -969,7 +969,9 @@ bool DirectoryBackingStore::CreateTables() {
|
| s.BindString(0, dir_name_); // id
|
| s.BindString(1, dir_name_); // name
|
| s.BindString(2, ""); // store_birthday
|
| - s.BindString(3, SYNC_ENGINE_VERSION_STRING); // db_create_version
|
| + // TODO(akalin): Remove this unused db_create_version field. (Or
|
| + // actually use it for something.) http://crbug.com/118356
|
| + s.BindString(3, "Unknown"); // db_create_version
|
| s.BindInt(4, static_cast<int32>(time(0))); // db_create_time
|
| s.BindString(5, GenerateCacheGUID()); // cache_guid
|
| s.BindBlob(6, NULL, 0); // notification_state
|
|
|