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

Unified Diff: sync/syncable/directory_backing_store.h

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.h
diff --git a/sync/syncable/directory_backing_store.h b/sync/syncable/directory_backing_store.h
index 81707331586edaa9bbf3967d3efff5c4200b1e4b..f70829622182685d61a553f2cee718d513d4226f 100644
--- a/sync/syncable/directory_backing_store.h
+++ b/sync/syncable/directory_backing_store.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/threading/non_thread_safe.h"
#include "sql/connection.h"
#include "sql/statement.h"
+#include "sync/base/sync_export.h"
#include "sync/internal_api/public/base/model_type.h"
#include "sync/syncable/dir_open_result.h"
#include "sync/syncable/directory.h"
@@ -41,7 +42,7 @@ typedef Directory::MetahandlesIndex MetahandlesIndex;
// This class is abstract so that we can extend it in interesting ways for use
// in tests. The concrete class used in non-test scenarios is
// OnDiskDirectoryBackingStore.
-class DirectoryBackingStore : public base::NonThreadSafe {
+class SYNC_EXPORT_PRIVATE DirectoryBackingStore : public base::NonThreadSafe {
public:
explicit DirectoryBackingStore(const std::string& dir_name);
virtual ~DirectoryBackingStore();
@@ -170,8 +171,6 @@ class DirectoryBackingStore : public base::NonThreadSafe {
// Set to true if migration left some old columns around that need to be
// discarded.
bool needs_column_refresh_;
-
- DISALLOW_COPY_AND_ASSIGN(DirectoryBackingStore);
rlarocque 2012/12/22 02:00:49 Why?
Raghu Simha 2012/12/22 02:25:02 Probably happened while I was debugging. Restored.
};
} // namespace syncable

Powered by Google App Engine
This is Rietveld 408576698