| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_H_ | 5 #ifndef COMPONENTS_WEBDATA_COMMON_WEB_DATABASE_H_ |
| 6 #define COMPONENTS_WEBDATA_COMMON_WEB_DATABASE_H_ | 6 #define COMPONENTS_WEBDATA_COMMON_WEB_DATABASE_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> |
| 9 | 10 |
| 10 #include "base/macros.h" | 11 #include "base/macros.h" |
| 11 #include "components/webdata/common/web_database_table.h" | 12 #include "components/webdata/common/web_database_table.h" |
| 12 #include "components/webdata/common/webdata_export.h" | 13 #include "components/webdata/common/webdata_export.h" |
| 13 #include "sql/connection.h" | 14 #include "sql/connection.h" |
| 14 #include "sql/init_status.h" | 15 #include "sql/init_status.h" |
| 15 #include "sql/meta_table.h" | 16 #include "sql/meta_table.h" |
| 16 | 17 |
| 17 namespace base { | 18 namespace base { |
| 18 class FilePath; | 19 class FilePath; |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 | 88 |
| 88 // Map of all the different tables that have been added to this | 89 // Map of all the different tables that have been added to this |
| 89 // object. Non-owning. | 90 // object. Non-owning. |
| 90 typedef std::map<WebDatabaseTable::TypeKey, WebDatabaseTable*> TableMap; | 91 typedef std::map<WebDatabaseTable::TypeKey, WebDatabaseTable*> TableMap; |
| 91 TableMap tables_; | 92 TableMap tables_; |
| 92 | 93 |
| 93 DISALLOW_COPY_AND_ASSIGN(WebDatabase); | 94 DISALLOW_COPY_AND_ASSIGN(WebDatabase); |
| 94 }; | 95 }; |
| 95 | 96 |
| 96 #endif // COMPONENTS_WEBDATA_COMMON_WEB_DATABASE_H_ | 97 #endif // COMPONENTS_WEBDATA_COMMON_WEB_DATABASE_H_ |
| OLD | NEW |