| OLD | NEW |
| 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 COMPONENTS_WEBDATA_COMMON_WEB_DATABASE_TABLE_H_ | 5 #ifndef COMPONENTS_WEBDATA_COMMON_WEB_DATABASE_TABLE_H_ |
| 6 #define COMPONENTS_WEBDATA_COMMON_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 #include "base/macros.h" |
| 9 #include "components/webdata/common/webdata_export.h" | 10 #include "components/webdata/common/webdata_export.h" |
| 10 | 11 |
| 11 namespace sql { | 12 namespace sql { |
| 12 class Connection; | 13 class Connection; |
| 13 class MetaTable; | 14 class MetaTable; |
| 14 } | 15 } |
| 15 | 16 |
| 16 // An abstract base class representing a table within a WebDatabase. | 17 // An abstract base class representing a table within a WebDatabase. |
| 17 // Each table should subclass this, adding type-specific methods as needed. | 18 // Each table should subclass this, adding type-specific methods as needed. |
| 18 class WEBDATA_EXPORT WebDatabaseTable { | 19 class WEBDATA_EXPORT WebDatabaseTable { |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 // exceeds that of WebDatabase, they should not be used in | 59 // exceeds that of WebDatabase, they should not be used in |
| 59 // ~WebDatabaseTable. | 60 // ~WebDatabaseTable. |
| 60 sql::Connection* db_; | 61 sql::Connection* db_; |
| 61 sql::MetaTable* meta_table_; | 62 sql::MetaTable* meta_table_; |
| 62 | 63 |
| 63 private: | 64 private: |
| 64 DISALLOW_COPY_AND_ASSIGN(WebDatabaseTable); | 65 DISALLOW_COPY_AND_ASSIGN(WebDatabaseTable); |
| 65 }; | 66 }; |
| 66 | 67 |
| 67 #endif // COMPONENTS_WEBDATA_COMMON_WEB_DATABASE_TABLE_H_ | 68 #endif // COMPONENTS_WEBDATA_COMMON_WEB_DATABASE_TABLE_H_ |
| OLD | NEW |