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

Unified Diff: sync/syncable/directory_backing_store.cc

Issue 9699057: [Sync] Move 'sync' target to sync/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address Tim's comments Created 8 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sync/syncable/directory_backing_store.h ('k') | sync/syncable/directory_backing_store_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « sync/syncable/directory_backing_store.h ('k') | sync/syncable/directory_backing_store_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698