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_HISTORY_DOWNLOAD_DATABASE_H_ | 5 #ifndef CHROME_BROWSER_HISTORY_DOWNLOAD_DATABASE_H_ |
6 #define CHROME_BROWSER_HISTORY_DOWNLOAD_DATABASE_H_ | 6 #define CHROME_BROWSER_HISTORY_DOWNLOAD_DATABASE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/threading/platform_thread.h" | 11 #include "base/threading/platform_thread.h" |
12 #include "sql/meta_table.h" | 12 #include "sql/meta_table.h" |
13 | 13 |
14 class FilePath; | |
15 | |
16 namespace sql { | 14 namespace sql { |
17 class Connection; | 15 class Connection; |
18 } | 16 } |
19 | 17 |
20 namespace history { | 18 namespace history { |
21 | 19 |
22 struct DownloadRow; | 20 struct DownloadRow; |
23 | 21 |
24 // Maintains a table of downloads. | 22 // Maintains a table of downloads. |
25 class DownloadDatabase { | 23 class DownloadDatabase { |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 | 82 |
85 int next_id_; | 83 int next_id_; |
86 int next_db_handle_; | 84 int next_db_handle_; |
87 | 85 |
88 DISALLOW_COPY_AND_ASSIGN(DownloadDatabase); | 86 DISALLOW_COPY_AND_ASSIGN(DownloadDatabase); |
89 }; | 87 }; |
90 | 88 |
91 } // namespace history | 89 } // namespace history |
92 | 90 |
93 #endif // CHROME_BROWSER_HISTORY_DOWNLOAD_DATABASE_H_ | 91 #endif // CHROME_BROWSER_HISTORY_DOWNLOAD_DATABASE_H_ |
OLD | NEW |