OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_HISTORY_CORE_BROWSER_IN_MEMORY_DATABASE_H_ | 5 #ifndef COMPONENTS_HISTORY_CORE_BROWSER_IN_MEMORY_DATABASE_H_ |
6 #define COMPONENTS_HISTORY_CORE_BROWSER_IN_MEMORY_DATABASE_H_ | 6 #define COMPONENTS_HISTORY_CORE_BROWSER_IN_MEMORY_DATABASE_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/macros.h" |
9 #include "components/history/core/browser/url_database.h" | 9 #include "components/history/core/browser/url_database.h" |
10 #include "sql/connection.h" | 10 #include "sql/connection.h" |
11 | 11 |
12 namespace base { | 12 namespace base { |
13 class FilePath; | 13 class FilePath; |
14 } | 14 } |
15 | 15 |
16 namespace history { | 16 namespace history { |
17 | 17 |
18 // Class used for a fast in-memory cache of typed URLs. Used for inline | 18 // Class used for a fast in-memory cache of typed URLs. Used for inline |
(...skipping 23 matching lines...) Expand all Loading... |
42 bool InitDB(); | 42 bool InitDB(); |
43 | 43 |
44 sql::Connection db_; | 44 sql::Connection db_; |
45 | 45 |
46 DISALLOW_COPY_AND_ASSIGN(InMemoryDatabase); | 46 DISALLOW_COPY_AND_ASSIGN(InMemoryDatabase); |
47 }; | 47 }; |
48 | 48 |
49 } // namespace history | 49 } // namespace history |
50 | 50 |
51 #endif // COMPONENTS_HISTORY_CORE_BROWSER_IN_MEMORY_DATABASE_H_ | 51 #endif // COMPONENTS_HISTORY_CORE_BROWSER_IN_MEMORY_DATABASE_H_ |
OLD | NEW |