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

Unified Diff: sync/syncable/directory_backing_store.cc

Issue 11624037: [sync] Componentize sync: Part 6: Add more SYNC_EXPORTs to files in src/sync/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix tests after rebase Created 8 years 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
Index: sync/syncable/directory_backing_store.cc
diff --git a/sync/syncable/directory_backing_store.cc b/sync/syncable/directory_backing_store.cc
index a6095279c86a37dd3aa0ccaee513f458c5d410bf..ea51b57d7700477f0339b012fc6f5d26d0848deb 100644
--- a/sync/syncable/directory_backing_store.cc
+++ b/sync/syncable/directory_backing_store.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Copyright 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -22,6 +22,7 @@
#include "sql/connection.h"
#include "sql/statement.h"
#include "sql/transaction.h"
+#include "sync/base/sync_export.h"
#include "sync/internal_api/public/base/node_ordinal.h"
#include "sync/protocol/bookmark_specifics.pb.h"
#include "sync/protocol/sync.pb.h"
@@ -38,8 +39,10 @@ namespace syncable {
// modifies all the columns in the entry table.
static const string::size_type kUpdateStatementBufferSize = 2048;
+// Global visibility for our unittest.
+SYNC_EXPORT_PRIVATE extern const int32 kCurrentDBVersion;
rlarocque 2012/12/22 02:00:49 There should be no need for extern declarations in
Raghu Simha 2012/12/22 02:25:02 Done.
+
// Increment this version whenever updating DB tables.
-extern const int32 kCurrentDBVersion; // Global visibility for our unittest.
const int32 kCurrentDBVersion = 85;
// Iterate over the fields of |entry| and bind each to |statement| for

Powered by Google App Engine
This is Rietveld 408576698