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

Unified Diff: chrome/browser/webdata/web_database_table.cc

Issue 12543034: Move creation of the various WebDatabaseTable types out of WebDatabase. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Windows release builds (COMDAT folding combined static functions being used for keys. Created 7 years, 9 months 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 | « chrome/browser/webdata/web_database_table.h ('k') | chrome/browser/webdata/web_intents_table.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/webdata/web_database_table.cc
diff --git a/chrome/browser/webdata/web_database_table.cc b/chrome/browser/webdata/web_database_table.cc
index c95358df898bdc13fa4ee09f95374ab0c467a54d..3f6548f0819f3ffd0913b33354ee4f497bc1c089 100644
--- a/chrome/browser/webdata/web_database_table.cc
+++ b/chrome/browser/webdata/web_database_table.cc
@@ -4,12 +4,14 @@
#include "chrome/browser/webdata/web_database_table.h"
-WebDatabaseTable::WebDatabaseTable(
- sql::Connection* db, sql::MetaTable* meta_table)
- : db_(db), meta_table_(meta_table) {
+WebDatabaseTable::WebDatabaseTable() : db_(NULL), meta_table_(NULL) {
}
WebDatabaseTable::~WebDatabaseTable() {
- db_ = NULL;
- meta_table_ = NULL;
+}
+
+bool WebDatabaseTable::Init(sql::Connection* db, sql::MetaTable* meta_table) {
+ db_ = db;
+ meta_table_ = meta_table;
+ return true;
}
« no previous file with comments | « chrome/browser/webdata/web_database_table.h ('k') | chrome/browser/webdata/web_intents_table.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698