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 CHROME_BROWSER_WEBDATA_WEB_DATABASE_H_ | 5 #ifndef COMPONENTS_WEBDATA_COMMON_WEB_DATABASE_H_ |
6 #define CHROME_BROWSER_WEBDATA_WEB_DATABASE_H_ | 6 #define COMPONENTS_WEBDATA_COMMON_WEB_DATABASE_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 | 9 |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "chrome/browser/webdata/web_database_table.h" | 11 #include "components/webdata/common/web_database_table.h" |
12 #include "sql/connection.h" | 12 #include "sql/connection.h" |
13 #include "sql/init_status.h" | 13 #include "sql/init_status.h" |
14 #include "sql/meta_table.h" | 14 #include "sql/meta_table.h" |
15 | 15 |
16 namespace base { | 16 namespace base { |
17 class FilePath; | 17 class FilePath; |
18 } | 18 } |
19 | 19 |
20 namespace content { | 20 namespace content { |
21 class NotificationService; | 21 class NotificationService; |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 // Map of all the different tables that have been added to this | 68 // Map of all the different tables that have been added to this |
69 // object. Non-owning. | 69 // object. Non-owning. |
70 typedef std::map<WebDatabaseTable::TypeKey, WebDatabaseTable*> TableMap; | 70 typedef std::map<WebDatabaseTable::TypeKey, WebDatabaseTable*> TableMap; |
71 TableMap tables_; | 71 TableMap tables_; |
72 | 72 |
73 scoped_ptr<content::NotificationService> notification_service_; | 73 scoped_ptr<content::NotificationService> notification_service_; |
74 | 74 |
75 DISALLOW_COPY_AND_ASSIGN(WebDatabase); | 75 DISALLOW_COPY_AND_ASSIGN(WebDatabase); |
76 }; | 76 }; |
77 | 77 |
78 #endif // CHROME_BROWSER_WEBDATA_WEB_DATABASE_H_ | 78 #endif // COMPONENTS_WEBDATA_COMMON_WEB_DATABASE_H_ |
OLD | NEW |