diff options
author | munjal@chromium.org <munjal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-22 22:00:05 +0000 |
---|---|---|
committer | munjal@chromium.org <munjal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-22 22:00:05 +0000 |
commit | a26b7d4950c1e684ab1620674a335ff3a27eda5c (patch) | |
tree | aae4006faba72163697439999aece494edb9ff5a /chrome/browser/sync | |
parent | da481c1148af655d8c9d4c258112780c171283f1 (diff) | |
download | chromium_src-a26b7d4950c1e684ab1620674a335ff3a27eda5c.zip chromium_src-a26b7d4950c1e684ab1620674a335ff3a27eda5c.tar.gz chromium_src-a26b7d4950c1e684ab1620674a335ff3a27eda5c.tar.bz2 |
Remove SYNC_EXPORT macro and all it's uses.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/555044
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36904 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/sync')
-rw-r--r-- | chrome/browser/sync/engine/syncapi.h | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/chrome/browser/sync/engine/syncapi.h b/chrome/browser/sync/engine/syncapi.h index 8b0c73e..63ce5f5 100644 --- a/chrome/browser/sync/engine/syncapi.h +++ b/chrome/browser/sync/engine/syncapi.h @@ -46,12 +46,6 @@ #include "chrome/browser/google_service_auth_error.h" #include "googleurl/src/gurl.h" -// The MSVC compiler for Windows requires that any classes exported by, or -// imported from, a dynamic library be marked with an appropriate -// __declspec() decoration. However, we currently use static linkage -// on all platforms. -#define SYNC_EXPORT - namespace browser_sync { class ModelSafeWorkerRegistrar; } @@ -85,7 +79,7 @@ static const int64 kInvalidId = 0; // transaction is necessary to create a BaseNode or any of its children. // Unlike syncable::Entry, a sync API BaseNode is identified primarily by its // int64 metahandle, which we call an ID here. -class SYNC_EXPORT BaseNode { +class BaseNode { public: // All subclasses of BaseNode must provide a way to initialize themselves by // doing an ID lookup. Returns false on failure. An invalid or deleted @@ -167,7 +161,7 @@ class SYNC_EXPORT BaseNode { // WriteNode extends BaseNode to add mutation, and wraps // syncable::MutableEntry. A WriteTransaction is needed to create a WriteNode. -class SYNC_EXPORT WriteNode : public BaseNode { +class WriteNode : public BaseNode { public: // Create a WriteNode using the given transaction. explicit WriteNode(WriteTransaction* transaction); @@ -228,7 +222,7 @@ class SYNC_EXPORT WriteNode : public BaseNode { // ReadNode wraps a syncable::Entry to provide the functionality of a // read-only BaseNode. -class SYNC_EXPORT ReadNode : public BaseNode { +class ReadNode : public BaseNode { public: // Create an unpopulated ReadNode on the given transaction. Call some flavor // of Init to populate the ReadNode with a database entry. @@ -274,7 +268,7 @@ class SYNC_EXPORT ReadNode : public BaseNode { // syncable, and are used in a similar way. Unlike syncable::BaseTransaction, // whose construction requires an explicit syncable::ScopedDirLookup, a sync // API BaseTransaction creates its own ScopedDirLookup implicitly. -class SYNC_EXPORT BaseTransaction { +class BaseTransaction { public: // Provide access to the underlying syncable.h objects from BaseNode. virtual syncable::BaseTransaction* GetWrappedTrans() const = 0; @@ -296,7 +290,7 @@ class SYNC_EXPORT BaseTransaction { // Sync API's ReadTransaction is a read-only BaseTransaction. It wraps // a syncable::ReadTransaction. -class SYNC_EXPORT ReadTransaction : public BaseTransaction { +class ReadTransaction : public BaseTransaction { public: // Start a new read-only transaction on the specified repository. explicit ReadTransaction(UserShare* share); @@ -315,7 +309,7 @@ class SYNC_EXPORT ReadTransaction : public BaseTransaction { // Sync API's WriteTransaction is a read/write BaseTransaction. It wraps // a syncable::WriteTransaction. -class SYNC_EXPORT WriteTransaction : public BaseTransaction { +class WriteTransaction : public BaseTransaction { public: // Start a new read/write transaction. explicit WriteTransaction(UserShare* share); @@ -340,7 +334,7 @@ class SYNC_EXPORT WriteTransaction : public BaseTransaction { // same sqlite database), they should share a single SyncManager instance. The // caller should typically create one SyncManager for the lifetime of a user // session. -class SYNC_EXPORT SyncManager { +class SyncManager { public: // SyncInternal contains the implementation of SyncManager, while abstracting // internal types from clients of the interface. |