OLD | NEW |
1 // Copyright (c) 2009 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_HISTORY_TEXT_DATABASE_H_ | 5 #ifndef CHROME_BROWSER_HISTORY_TEXT_DATABASE_H_ |
6 #define CHROME_BROWSER_HISTORY_TEXT_DATABASE_H_ | 6 #define CHROME_BROWSER_HISTORY_TEXT_DATABASE_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <set> | 9 #include <set> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "app/sql/connection.h" | |
13 #include "app/sql/meta_table.h" | |
14 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
15 #include "base/file_path.h" | 13 #include "base/file_path.h" |
16 #include "base/string16.h" | 14 #include "base/string16.h" |
17 #include "chrome/browser/history/history_types.h" | 15 #include "chrome/browser/history/history_types.h" |
18 #include "googleurl/src/gurl.h" | 16 #include "googleurl/src/gurl.h" |
| 17 #include "sql/connection.h" |
| 18 #include "sql/meta_table.h" |
19 | 19 |
20 namespace history { | 20 namespace history { |
21 | 21 |
22 // Encapsulation of a full-text indexed database file. | 22 // Encapsulation of a full-text indexed database file. |
23 class TextDatabase { | 23 class TextDatabase { |
24 public: | 24 public: |
25 typedef int DBIdent; | 25 typedef int DBIdent; |
26 | 26 |
27 typedef std::set<GURL> URLSet; | 27 typedef std::set<GURL> URLSet; |
28 | 28 |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 FilePath file_name_; | 157 FilePath file_name_; |
158 | 158 |
159 sql::MetaTable meta_table_; | 159 sql::MetaTable meta_table_; |
160 | 160 |
161 DISALLOW_COPY_AND_ASSIGN(TextDatabase); | 161 DISALLOW_COPY_AND_ASSIGN(TextDatabase); |
162 }; | 162 }; |
163 | 163 |
164 } // namespace history | 164 } // namespace history |
165 | 165 |
166 #endif // CHROME_BROWSER_HISTORY_TEXT_DATABASE_H_ | 166 #endif // CHROME_BROWSER_HISTORY_TEXT_DATABASE_H_ |
OLD | NEW |