diff options
author | rsimha@chromium.org <rsimha@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-11 23:47:42 +0000 |
---|---|---|
committer | rsimha@chromium.org <rsimha@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-11 23:47:42 +0000 |
commit | aa166d02133c942de7498ebab60a47de2827f3df (patch) | |
tree | 6d617d623d0a6b361ee4bf21728a5467a87ed613 /sync/internal_api/public/read_transaction.h | |
parent | ce507cbf2a4c50d83855f08f8717df736584338b (diff) | |
download | chromium_src-aa166d02133c942de7498ebab60a47de2827f3df.zip chromium_src-aa166d02133c942de7498ebab60a47de2827f3df.tar.gz chromium_src-aa166d02133c942de7498ebab60a47de2827f3df.tar.bz2 |
[sync] Componentize sync: Part 2: Add SYNC_EXPORTs to files in src/sync/
One of the long term goals of the sync team is to pull sync code out of
chrome.dll and into its own component. As of today, several chrome targets
depend on various sync targets as defined in sync.gyp. We'd like to move
to a world where all chrome targets outside sync.gyp simply depend on the
target sync.gyp:sync, which is built into its own component.
This patch sets the stage for full componentization by adding
SYNC_EXPORT annotations to classes / methods within src/sync.
The final step of breaking off sync into its own component will be done
in https://codereview.chromium.org/11412211.
BUG=136928
Review URL: https://chromiumcodereview.appspot.com/11515009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@172458 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sync/internal_api/public/read_transaction.h')
-rw-r--r-- | sync/internal_api/public/read_transaction.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sync/internal_api/public/read_transaction.h b/sync/internal_api/public/read_transaction.h index 6619bb0..02e2633 100644 --- a/sync/internal_api/public/read_transaction.h +++ b/sync/internal_api/public/read_transaction.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. @@ -6,6 +6,7 @@ #define SYNC_INTERNAL_API_PUBLIC_READ_TRANSACTION_H_ #include "base/compiler_specific.h" +#include "sync/base/sync_export.h" #include "sync/internal_api/public/base_transaction.h" namespace tracked_objects { @@ -18,7 +19,7 @@ struct UserShare; // Sync API's ReadTransaction is a read-only BaseTransaction. It wraps // a syncable::ReadTransaction. -class ReadTransaction : public BaseTransaction { +class SYNC_EXPORT ReadTransaction : public BaseTransaction { public: // Start a new read-only transaction on the specified repository. ReadTransaction(const tracked_objects::Location& from_here, |