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

Unified Diff: sync/internal_api/public/base/model_type_payload_map.h

Issue 10700180: [Sync] Add sync_export.h (Step 1 for componentizing sync) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments Created 8 years, 5 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/internal_api/public/base/model_type.h ('k') | sync/internal_api/public/engine/model_safe_worker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/internal_api/public/base/model_type_payload_map.h
diff --git a/sync/internal_api/public/base/model_type_payload_map.h b/sync/internal_api/public/base/model_type_payload_map.h
index 699b84b3529086ddafea9db56c6b621987dfe99c..66eb7f7fd778eb9ce068fa454103cdc81ec27706 100644
--- a/sync/internal_api/public/base/model_type_payload_map.h
+++ b/sync/internal_api/public/base/model_type_payload_map.h
@@ -10,8 +10,12 @@
#include <map>
#include <string>
+#include "sync/base/sync_export.h"
#include "sync/internal_api/public/base/model_type.h"
+// TODO(akalin): Move the non-exported functions in this file to a
+// private header.
+
namespace base {
class DictionaryValue;
}
@@ -26,7 +30,7 @@ typedef std::map<ModelType, std::string> ModelTypePayloadMap;
// Make a TypePayloadMap from all the types in a ModelTypeSet using a
// default payload.
-ModelTypePayloadMap ModelTypePayloadMapFromEnumSet(
+SYNC_EXPORT ModelTypePayloadMap ModelTypePayloadMapFromEnumSet(
ModelTypeSet model_types, const std::string& payload);
ModelTypeSet ModelTypePayloadMapToEnumSet(
« no previous file with comments | « sync/internal_api/public/base/model_type.h ('k') | sync/internal_api/public/engine/model_safe_worker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698