| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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/file_path.h" | 7 #include "base/file_path.h" |
| 8 #include "base/histogram.h" | 8 #include "base/histogram.h" |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "base/string_util.h" | |
| 11 #include "base/time.h" | 10 #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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 CreateMainURLIndex(); | 98 CreateMainURLIndex(); |
| 99 | 99 |
| 100 return true; | 100 return true; |
| 101 } | 101 } |
| 102 | 102 |
| 103 sql::Connection& InMemoryDatabase::GetDB() { | 103 sql::Connection& InMemoryDatabase::GetDB() { |
| 104 return db_; | 104 return db_; |
| 105 } | 105 } |
| 106 | 106 |
| 107 } // namespace history | 107 } // namespace history |
| OLD | NEW |