OLD | NEW |
---|---|
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_THUMBNAIL_DATABASE_H__ | 5 #ifndef CHROME_BROWSER_HISTORY_THUMBNAIL_DATABASE_H__ |
6 #define CHROME_BROWSER_HISTORY_THUMBNAIL_DATABASE_H__ | 6 #define CHROME_BROWSER_HISTORY_THUMBNAIL_DATABASE_H__ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "chrome/browser/history/history_types.h" | 10 #include "chrome/browser/history/history_types.h" |
11 #include "chrome/browser/history/url_database.h" // For DBCloseScoper. | 11 #include "chrome/browser/history/url_database.h" // For DBCloseScoper. |
12 #include "chrome/browser/meta_table_helper.h" | 12 #include "chrome/browser/meta_table_helper.h" |
13 #include "chrome/common/sqlite_compiled_statement.h" | 13 #include "chrome/common/sqlite_compiled_statement.h" |
14 #include "skia/include/SkBitmap.h" | 14 #include "skia/include/SkBitmap.h" |
15 | 15 |
16 struct sqlite3; | 16 struct sqlite3; |
17 struct ThumbnailScore; | 17 struct ThumbnailScore; |
18 class base::Time; | 18 namespace base { |
wtc
2008/11/05 21:40:32
The "namespace" line was indented by accident.
vega.james_gmail.com
2008/11/05 21:55:33
Hmm, don't know how I missed that I indented the w
| |
19 class Time; | |
20 } | |
19 | 21 |
20 namespace history { | 22 namespace history { |
21 | 23 |
22 class ExpireHistoryBackend; | 24 class ExpireHistoryBackend; |
23 | 25 |
24 // This database interface is owned by the history backend and runs on the | 26 // This database interface is owned by the history backend and runs on the |
25 // history thread. It is a totally separate component from history partially | 27 // history thread. It is a totally separate component from history partially |
26 // because we may want to move it to its own thread in the future. The | 28 // because we may want to move it to its own thread in the future. The |
27 // operations we will do on this database will be slow, but we can tolerate | 29 // operations we will do on this database will be slow, but we can tolerate |
28 // higher latency (it's OK for thumbnails to come in slower than the rest | 30 // higher latency (it's OK for thumbnails to come in slower than the rest |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
157 | 159 |
158 int transaction_nesting_; | 160 int transaction_nesting_; |
159 | 161 |
160 MetaTableHelper meta_table_; | 162 MetaTableHelper meta_table_; |
161 }; | 163 }; |
162 | 164 |
163 } // namespace history | 165 } // namespace history |
164 | 166 |
165 #endif // CHROME_BROWSER_HISTORY_THUMBNAIL_DATABASE_H__ | 167 #endif // CHROME_BROWSER_HISTORY_THUMBNAIL_DATABASE_H__ |
166 | 168 |
OLD | NEW |