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

Unified Diff: sync/syncable/syncable_util.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/syncable_read_transaction.h ('k') | sync/syncable/syncable_write_transaction.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/syncable/syncable_util.h
diff --git a/sync/syncable/syncable_util.h b/sync/syncable/syncable_util.h
index add3e2d066d594daabf4f1d1cf96c93d2fe4190e..4ea8a6f6c48b8fd7dd697d8474c0f61c73dd925b 100644
--- a/sync/syncable/syncable_util.h
+++ b/sync/syncable/syncable_util.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.
@@ -9,6 +9,7 @@
#include <vector>
#include "base/basictypes.h"
+#include "sync/base/sync_export.h"
#include "sync/internal_api/public/base/model_type.h"
namespace tracked_objects {
@@ -23,22 +24,24 @@ class WriteTransaction;
class MutableEntry;
class Id;
-void ChangeEntryIDAndUpdateChildren(WriteTransaction* trans,
- MutableEntry* entry,
- const Id& new_id);
+SYNC_EXPORT_PRIVATE void ChangeEntryIDAndUpdateChildren(WriteTransaction* trans,
+ MutableEntry* entry,
+ const Id& new_id);
-bool IsLegalNewParent(BaseTransaction* trans, const Id& id, const Id& parentid);
+SYNC_EXPORT_PRIVATE bool IsLegalNewParent(BaseTransaction* trans,
+ const Id& id,
+ const Id& parentid);
bool SyncAssert(bool condition,
const tracked_objects::Location& location,
const char* msg,
BaseTransaction* trans);
-int GetUnsyncedEntries(BaseTransaction* trans,
- std::vector<int64> *handles);
+SYNC_EXPORT_PRIVATE int GetUnsyncedEntries(BaseTransaction* trans,
+ std::vector<int64> *handles);
// Generates a fixed-length tag for the given string under the given model_type.
-std::string GenerateSyncableHash(
+SYNC_EXPORT_PRIVATE std::string GenerateSyncableHash(
ModelType model_type, const std::string& client_tag);
} // namespace syncable
« no previous file with comments | « sync/syncable/syncable_read_transaction.h ('k') | sync/syncable/syncable_write_transaction.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698