summaryrefslogtreecommitdiffstats
path: root/sql/connection.h
diff options
context:
space:
mode:
authordpranke@chromium.org <dpranke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-10 21:40:28 +0000
committerdpranke@chromium.org <dpranke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-10 21:40:28 +0000
commitd452696d51c8737c0f2c4eada4369aa9530e57bd (patch)
treed983a1a224845a26f0e6173c8b7e4bc658a29539 /sql/connection.h
parent5b4fc5b7c88b94d0e8b61eddd1c9203723ebd29e (diff)
downloadchromium_src-d452696d51c8737c0f2c4eada4369aa9530e57bd.zip
chromium_src-d452696d51c8737c0f2c4eada4369aa9530e57bd.tar.gz
chromium_src-d452696d51c8737c0f2c4eada4369aa9530e57bd.tar.bz2
build sql as a component - this will help ensure there is only one copy
of sqlite getting linked in. R=rsesek@chromium.org Review URL: http://codereview.chromium.org/8506027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109510 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sql/connection.h')
-rw-r--r--sql/connection.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sql/connection.h b/sql/connection.h
index 5807e36..5446c0c 100644
--- a/sql/connection.h
+++ b/sql/connection.h
@@ -13,6 +13,7 @@
#include "base/basictypes.h"
#include "base/memory/ref_counted.h"
#include "base/time.h"
+#include "sql/sql_export.h"
class FilePath;
struct sqlite3;
@@ -76,7 +77,7 @@ class Connection;
// the OnError() callback.
// The tipical usage is to centralize the code designed to handle database
// corruption, low-level IO errors or locking violations.
-class ErrorDelegate : public base::RefCounted<ErrorDelegate> {
+class SQL_EXPORT ErrorDelegate : public base::RefCounted<ErrorDelegate> {
public:
ErrorDelegate();
@@ -99,7 +100,7 @@ class ErrorDelegate : public base::RefCounted<ErrorDelegate> {
virtual ~ErrorDelegate();
};
-class Connection {
+class SQL_EXPORT Connection {
private:
class StatementRef; // Forward declaration, see real one below.