| 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_provider_backend.h" | 5 #include "chrome/browser/history/android/android_provider_backend.h" |
| 6 | 6 |
| 7 #include "base/i18n/case_conversion.h" | 7 #include "base/i18n/case_conversion.h" |
| 8 #include "chrome/browser/chrome_notification_types.h" | 8 #include "chrome/browser/chrome_notification_types.h" |
| 9 #include "chrome/browser/history/android/bookmark_model_sql_handler.h" | 9 #include "chrome/browser/history/android/bookmark_model_sql_handler.h" |
| 10 #include "chrome/browser/history/history_backend.h" | 10 #include "chrome/browser/history/history_backend.h" |
| 11 #include "chrome/browser/history/history_database.h" | 11 #include "components/history/core/browser/android/android_time.h" |
| 12 #include "components/history/core/android/android_time.h" | 12 #include "components/history/core/browser/android/android_urls_sql_handler.h" |
| 13 #include "components/history/core/android/android_urls_sql_handler.h" | 13 #include "components/history/core/browser/android/favicon_sql_handler.h" |
| 14 #include "components/history/core/android/favicon_sql_handler.h" | 14 #include "components/history/core/browser/android/urls_sql_handler.h" |
| 15 #include "components/history/core/android/urls_sql_handler.h" | 15 #include "components/history/core/browser/android/visit_sql_handler.h" |
| 16 #include "components/history/core/android/visit_sql_handler.h" | |
| 17 #include "components/history/core/browser/history_backend_notifier.h" | 16 #include "components/history/core/browser/history_backend_notifier.h" |
| 18 #include "components/history/core/browser/history_client.h" | 17 #include "components/history/core/browser/history_client.h" |
| 18 #include "components/history/core/browser/history_database.h" |
| 19 #include "components/history/core/browser/keyword_search_term.h" | 19 #include "components/history/core/browser/keyword_search_term.h" |
| 20 #include "components/history/core/browser/thumbnail_database.h" | 20 #include "components/history/core/browser/thumbnail_database.h" |
| 21 #include "sql/connection.h" | 21 #include "sql/connection.h" |
| 22 | 22 |
| 23 | 23 |
| 24 namespace history { | 24 namespace history { |
| 25 | 25 |
| 26 | 26 |
| 27 // Helpers -------------------------------------------------------------------- | 27 // Helpers -------------------------------------------------------------------- |
| 28 | 28 |
| (...skipping 1209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1238 return false; | 1238 return false; |
| 1239 | 1239 |
| 1240 if (!history_db_->SetKeywordSearchTermsForURL(bookmark_row.url_id(), | 1240 if (!history_db_->SetKeywordSearchTermsForURL(bookmark_row.url_id(), |
| 1241 values.keyword_id(), values.search_term())) | 1241 values.keyword_id(), values.search_term())) |
| 1242 return false; | 1242 return false; |
| 1243 } | 1243 } |
| 1244 return true; | 1244 return true; |
| 1245 } | 1245 } |
| 1246 | 1246 |
| 1247 } // namespace history | 1247 } // namespace history |
| OLD | NEW |