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

Side by Side Diff: sync/notifier/invalidation_util.h

Issue 231203002: Mark syncer::InvalidationVersionLessThan with SYNC_EXPORT. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // Various utilities for dealing with invalidation data types. 5 // Various utilities for dealing with invalidation data types.
6 6
7 #ifndef SYNC_NOTIFIER_INVALIDATION_UTIL_H_ 7 #ifndef SYNC_NOTIFIER_INVALIDATION_UTIL_H_
8 #define SYNC_NOTIFIER_INVALIDATION_UTIL_H_ 8 #define SYNC_NOTIFIER_INVALIDATION_UTIL_H_
9 9
10 #include <iosfwd> 10 #include <iosfwd>
(...skipping 22 matching lines...) Expand all
33 33
34 namespace syncer { 34 namespace syncer {
35 35
36 class Invalidation; 36 class Invalidation;
37 37
38 struct SYNC_EXPORT ObjectIdLessThan { 38 struct SYNC_EXPORT ObjectIdLessThan {
39 bool operator()(const invalidation::ObjectId& lhs, 39 bool operator()(const invalidation::ObjectId& lhs,
40 const invalidation::ObjectId& rhs) const; 40 const invalidation::ObjectId& rhs) const;
41 }; 41 };
42 42
43 struct InvalidationVersionLessThan { 43 struct SYNC_EXPORT InvalidationVersionLessThan {
44 bool operator()(const syncer::Invalidation& a, 44 bool operator()(const syncer::Invalidation& a,
45 const syncer::Invalidation& b) const; 45 const syncer::Invalidation& b) const;
46 }; 46 };
47 47
48 typedef std::set<invalidation::ObjectId, ObjectIdLessThan> ObjectIdSet; 48 typedef std::set<invalidation::ObjectId, ObjectIdLessThan> ObjectIdSet;
49 49
50 typedef std::map<invalidation::ObjectId, int, ObjectIdLessThan> 50 typedef std::map<invalidation::ObjectId, int, ObjectIdLessThan>
51 ObjectIdCountMap; 51 ObjectIdCountMap;
52 52
53 SYNC_EXPORT bool RealModelTypeToObjectId(ModelType model_type, 53 SYNC_EXPORT bool RealModelTypeToObjectId(ModelType model_type,
(...skipping 14 matching lines...) Expand all
68 68
69 SYNC_EXPORT_PRIVATE ObjectIdSet ModelTypeSetToObjectIdSet(ModelTypeSet models); 69 SYNC_EXPORT_PRIVATE ObjectIdSet ModelTypeSetToObjectIdSet(ModelTypeSet models);
70 ModelTypeSet ObjectIdSetToModelTypeSet(const ObjectIdSet& ids); 70 ModelTypeSet ObjectIdSetToModelTypeSet(const ObjectIdSet& ids);
71 71
72 std::string InvalidationToString( 72 std::string InvalidationToString(
73 const invalidation::Invalidation& invalidation); 73 const invalidation::Invalidation& invalidation);
74 74
75 } // namespace syncer 75 } // namespace syncer
76 76
77 #endif // SYNC_NOTIFIER_INVALIDATION_UTIL_H_ 77 #endif // SYNC_NOTIFIER_INVALIDATION_UTIL_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698