sql: Switch from custom macro to COMPONENT_EXPORT.
TBR: jsbell
Change-Id: I5b998afa31810577e0bfd9d4d29ef9d462bce5b7
Reviewed-on: https://chromium-review.googlesource.com/c/1390332
Reviewed-by: Victor Costan <[email protected]>
Commit-Queue: Victor Costan <[email protected]>
Cr-Commit-Position: refs/heads/master@{#618989}
diff --git a/sql/statement.h b/sql/statement.h
index cdef13f..ade63a59 100644
--- a/sql/statement.h
+++ b/sql/statement.h
@@ -9,12 +9,12 @@
#include <string>
#include <vector>
+#include "base/component_export.h"
#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "base/sequence_checker.h"
#include "base/strings/string16.h"
#include "sql/database.h"
-#include "sql/sql_export.h"
namespace sql {
@@ -43,7 +43,7 @@
// Step() and Run() just return true to signal success. If you want to handle
// specific errors such as database corruption, install an error handler in
// in the connection object using set_error_delegate().
-class SQL_EXPORT Statement {
+class COMPONENT_EXPORT(SQL) Statement {
public:
// Creates an uninitialized statement. The statement will be invalid until
// you initialize it via Assign.