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 #include "chrome/browser/history/in_memory_database.h" | 5 #include "chrome/browser/history/in_memory_database.h" |
6 | 6 |
7 #include "base/files/file_path.h" | 7 #include "base/files/file_path.h" |
8 #include "base/logging.h" | 8 #include "base/logging.h" |
9 #include "base/metrics/histogram.h" | 9 #include "base/metrics/histogram.h" |
| 10 #include "base/strings/utf_string_conversions.h" |
10 #include "base/time.h" | 11 #include "base/time.h" |
11 #include "base/utf_string_conversions.h" | |
12 #include "build/build_config.h" | 12 #include "build/build_config.h" |
13 | 13 |
14 namespace history { | 14 namespace history { |
15 | 15 |
16 InMemoryDatabase::InMemoryDatabase() : URLDatabase() { | 16 InMemoryDatabase::InMemoryDatabase() : URLDatabase() { |
17 } | 17 } |
18 | 18 |
19 InMemoryDatabase::~InMemoryDatabase() { | 19 InMemoryDatabase::~InMemoryDatabase() { |
20 } | 20 } |
21 | 21 |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 CreateKeywordSearchTermsIndices(); | 142 CreateKeywordSearchTermsIndices(); |
143 | 143 |
144 return true; | 144 return true; |
145 } | 145 } |
146 | 146 |
147 sql::Connection& InMemoryDatabase::GetDB() { | 147 sql::Connection& InMemoryDatabase::GetDB() { |
148 return db_; | 148 return db_; |
149 } | 149 } |
150 | 150 |
151 } // namespace history | 151 } // namespace history |
OLD | NEW |