summaryrefslogtreecommitdiffstats
path: root/sync/syncable
diff options
context:
space:
mode:
Diffstat (limited to 'sync/syncable')
-rw-r--r--sync/syncable/DEPS1
-rw-r--r--sync/syncable/directory.h5
-rw-r--r--sync/syncable/write_transaction.h5
3 files changed, 7 insertions, 4 deletions
diff --git a/sync/syncable/DEPS b/sync/syncable/DEPS
index 37279ad..0ea6610 100644
--- a/sync/syncable/DEPS
+++ b/sync/syncable/DEPS
@@ -1,6 +1,7 @@
include_rules = [
"+net/base/escape.h",
"+sql",
+ "+sync/base",
"+sync/internal_api/public/base",
"+sync/internal_api/public/engine",
"+sync/internal_api/public/util",
diff --git a/sync/syncable/directory.h b/sync/syncable/directory.h
index 4247530..2b0bd3c4 100644
--- a/sync/syncable/directory.h
+++ b/sync/syncable/directory.h
@@ -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.
@@ -11,6 +11,7 @@
#include "base/file_util.h"
#include "base/gtest_prod_util.h"
+#include "sync/base/sync_export.h"
#include "sync/internal_api/public/util/report_unrecoverable_error_function.h"
#include "sync/internal_api/public/util/weak_handle.h"
#include "sync/syncable/dir_open_result.h"
@@ -128,7 +129,7 @@ enum InvariantCheckLevel {
FULL_DB_VERIFICATION = 2 // Check every entry. This can be expensive.
};
-class Directory {
+class SYNC_EXPORT Directory {
friend class BaseTransaction;
friend class Entry;
friend class MutableEntry;
diff --git a/sync/syncable/write_transaction.h b/sync/syncable/write_transaction.h
index 6a36963..875f6ec 100644
--- a/sync/syncable/write_transaction.h
+++ b/sync/syncable/write_transaction.h
@@ -1,17 +1,18 @@
-// 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.
#ifndef SYNC_SYNCABLE_WRITE_TRANSACTION_H_
#define SYNC_SYNCABLE_WRITE_TRANSACTION_H_
+#include "sync/base/sync_export.h"
#include "sync/syncable/base_transaction.h"
#include "sync/syncable/entry_kernel.h"
namespace syncer {
namespace syncable {
-extern const int64 kInvalidTransactionVersion;
+SYNC_EXPORT extern const int64 kInvalidTransactionVersion;
// Locks db in constructor, unlocks in destructor.
class WriteTransaction : public BaseTransaction {