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

Unified Diff: sql/connection.h

Issue 8506027: build sql as a component - this will help ensure there is only one copy (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: don't export DiagnosticErrorDelegate Created 9 years, 1 month 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 | « no previous file | sql/diagnostic_error_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sql/connection.h
diff --git a/sql/connection.h b/sql/connection.h
index 5807e36361ff200445f2d5321d5350bd5d747a42..5446c0c67a927101ba081cf370e08f28209b21a2 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.
« no previous file with comments | « no previous file | sql/diagnostic_error_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698