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

Side by Side Diff: components/webdata/common/web_database_table.h

Issue 13392014: Move c/b/webdata/ code to components/webdata/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Pure merge Created 7 years, 8 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
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 #ifndef CHROME_BROWSER_WEBDATA_WEB_DATABASE_TABLE_H_ 5 #ifndef COMPONENTS_WEBDATA_COMMON_WEB_DATABASE_TABLE_H_
6 #define CHROME_BROWSER_WEBDATA_WEB_DATABASE_TABLE_H_ 6 #define COMPONENTS_WEBDATA_COMMON_WEB_DATABASE_TABLE_H_
7 7
8 #include "base/logging.h" 8 #include "base/logging.h"
9 9
10 namespace sql { 10 namespace sql {
11 class Connection; 11 class Connection;
12 class MetaTable; 12 class MetaTable;
13 } 13 }
14 14
15 // An abstract base class representing a table within a WebDatabase. 15 // An abstract base class representing a table within a WebDatabase.
16 // Each table should subclass this, adding type-specific methods as needed. 16 // Each table should subclass this, adding type-specific methods as needed.
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 // class exists. Since lifetime of WebDatabaseTable objects slightly 55 // class exists. Since lifetime of WebDatabaseTable objects slightly
56 // exceeds that of WebDatabase, they should not be used in 56 // exceeds that of WebDatabase, they should not be used in
57 // ~WebDatabaseTable. 57 // ~WebDatabaseTable.
58 sql::Connection* db_; 58 sql::Connection* db_;
59 sql::MetaTable* meta_table_; 59 sql::MetaTable* meta_table_;
60 60
61 private: 61 private:
62 DISALLOW_COPY_AND_ASSIGN(WebDatabaseTable); 62 DISALLOW_COPY_AND_ASSIGN(WebDatabaseTable);
63 }; 63 };
64 64
65 #endif // CHROME_BROWSER_WEBDATA_WEB_DATABASE_TABLE_H_ 65 #endif // COMPONENTS_WEBDATA_COMMON_WEB_DATABASE_TABLE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698