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/android/android_cache_database.h" | 5 #include "chrome/browser/history/android/android_cache_database.h" |
6 | 6 |
7 #include "base/file_util.h" | 7 #include "base/files/file_util.h" |
8 #include "chrome/browser/history/android/android_time.h" | 8 #include "chrome/browser/history/android/android_time.h" |
9 #include "sql/statement.h" | 9 #include "sql/statement.h" |
10 | 10 |
11 using base::Time; | 11 using base::Time; |
12 using base::TimeDelta; | 12 using base::TimeDelta; |
13 | 13 |
14 namespace history { | 14 namespace history { |
15 | 15 |
16 AndroidCacheDatabase::AndroidCacheDatabase() { | 16 AndroidCacheDatabase::AndroidCacheDatabase() { |
17 } | 17 } |
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
280 attach.BindString(0, db_name_.value()); | 280 attach.BindString(0, db_name_.value()); |
281 if (!attach.Run()) { | 281 if (!attach.Run()) { |
282 LOG(ERROR) << GetDB().GetErrorMessage(); | 282 LOG(ERROR) << GetDB().GetErrorMessage(); |
283 return false; | 283 return false; |
284 } | 284 } |
285 | 285 |
286 return true; | 286 return true; |
287 } | 287 } |
288 | 288 |
289 } // namespace history | 289 } // namespace history |
OLD | NEW |