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

Unified Diff: sync/notifier/object_id_invalidation_map.h

Issue 11515009: [sync] Componentize sync: Part 2: Add SYNC_EXPORTs to files in src/sync/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: CR Feedback 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
« no previous file with comments | « sync/notifier/invalidator_state.h ('k') | sync/notifier/p2p_invalidator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/notifier/object_id_invalidation_map.h
diff --git a/sync/notifier/object_id_invalidation_map.h b/sync/notifier/object_id_invalidation_map.h
index 03569d8ef32d8010c6f870f24ba9c909ffc37c49..4a7c017570ca41dac062765b6ee924f9481600f7 100644
--- a/sync/notifier/object_id_invalidation_map.h
+++ b/sync/notifier/object_id_invalidation_map.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.
@@ -10,6 +10,7 @@
#include "base/memory/scoped_ptr.h"
#include "google/cacheinvalidation/include/types.h"
+#include "sync/base/sync_export.h"
#include "sync/internal_api/public/base/invalidation.h"
#include "sync/internal_api/public/base/model_type_invalidation_map.h"
#include "sync/notifier/invalidation_util.h"
@@ -27,7 +28,7 @@ typedef std::map<invalidation::ObjectId,
// Converts between ObjectIdInvalidationMaps and ObjectIdSets.
ObjectIdSet ObjectIdInvalidationMapToSet(
const ObjectIdInvalidationMap& invalidation_map);
-ObjectIdInvalidationMap ObjectIdSetToInvalidationMap(
+SYNC_EXPORT ObjectIdInvalidationMap ObjectIdSetToInvalidationMap(
const ObjectIdSet& ids, const std::string& payload);
bool ObjectIdInvalidationMapEquals(
@@ -43,8 +44,9 @@ bool ObjectIdInvalidationMapFromValue(const base::ListValue& value,
// Converts between ObjectIdInvalidationMaps and ModelTypeInvalidationMaps.
ModelTypeInvalidationMap ObjectIdInvalidationMapToModelTypeInvalidationMap(
const ObjectIdInvalidationMap& invalidation_map);
-ObjectIdInvalidationMap ModelTypeInvalidationMapToObjectIdInvalidationMap(
- const ModelTypeInvalidationMap& invalidation_map);
+SYNC_EXPORT ObjectIdInvalidationMap
+ ModelTypeInvalidationMapToObjectIdInvalidationMap(
+ const ModelTypeInvalidationMap& invalidation_map);
} // namespace syncer
« no previous file with comments | « sync/notifier/invalidator_state.h ('k') | sync/notifier/p2p_invalidator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698