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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/webdata/web_database_table.h" 5 #include "chrome/browser/webdata/web_database_table.h"
6 6
7 WebDatabaseTable::WebDatabaseTable( 7 WebDatabaseTable::WebDatabaseTable() : db_(NULL), meta_table_(NULL) {
8 sql::Connection* db, sql::MetaTable* meta_table)
9 : db_(db), meta_table_(meta_table) {
10 } 8 }
11 9
12 WebDatabaseTable::~WebDatabaseTable() { 10 WebDatabaseTable::~WebDatabaseTable() {
13 db_ = NULL;
14 meta_table_ = NULL;
15 } 11 }
12
13 bool WebDatabaseTable::Init(sql::Connection* db, sql::MetaTable* meta_table) {
14 db_ = db;
15 meta_table_ = meta_table;
16 return true;
17 }
OLDNEW
« 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