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

Unified Diff: sync/syncable/in_memory_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: Rebase (no code changes) Created 7 years, 12 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/entry_kernel.h ('k') | sync/syncable/invalid_directory_backing_store.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/syncable/in_memory_directory_backing_store.h
diff --git a/sync/syncable/in_memory_directory_backing_store.h b/sync/syncable/in_memory_directory_backing_store.h
index cf45c7453117acd120d09eb7fe7d024f9fbe928c..79dbed8a3219779c26c7c10143fffcb93ecf0fbd 100644
--- a/sync/syncable/in_memory_directory_backing_store.h
+++ b/sync/syncable/in_memory_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.
@@ -6,6 +6,7 @@
#define SYNC_SYNCABLE_IN_MEMORY_DIRECTORY_BACKING_STORE_H_
#include "sync/syncable/directory_backing_store.h"
+#include "sync/base/sync_export.h"
namespace syncer {
namespace syncable {
@@ -19,12 +20,16 @@ namespace syncable {
// When an InMemoryDirectoryBackingStore is destroyed, all data stored in this
// database is lost. If these limitations are a problem for you, consider using
// TestDirectoryBackingStore.
-class InMemoryDirectoryBackingStore : public DirectoryBackingStore {
+class SYNC_EXPORT_PRIVATE InMemoryDirectoryBackingStore
+ : public DirectoryBackingStore {
public:
explicit InMemoryDirectoryBackingStore(const std::string& dir_name);
virtual DirOpenResult Load(
MetahandlesIndex* entry_bucket,
Directory::KernelLoadInfo* kernel_load_info) OVERRIDE;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(InMemoryDirectoryBackingStore);
};
} // namespace syncable
« no previous file with comments | « sync/syncable/entry_kernel.h ('k') | sync/syncable/invalid_directory_backing_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698