| 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/android_time.h" | 9 #include "chrome/browser/history/android/android_time.h" |
| 10 #include "chrome/browser/history/android/android_urls_sql_handler.h" | 10 #include "chrome/browser/history/android/android_urls_sql_handler.h" |
| 11 #include "chrome/browser/history/android/bookmark_model_sql_handler.h" | 11 #include "chrome/browser/history/android/bookmark_model_sql_handler.h" |
| 12 #include "chrome/browser/history/android/favicon_sql_handler.h" | 12 #include "chrome/browser/history/android/favicon_sql_handler.h" |
| 13 #include "chrome/browser/history/android/urls_sql_handler.h" | 13 #include "chrome/browser/history/android/urls_sql_handler.h" |
| 14 #include "chrome/browser/history/android/visit_sql_handler.h" | 14 #include "chrome/browser/history/android/visit_sql_handler.h" |
| 15 #include "chrome/browser/history/history_backend.h" | 15 #include "chrome/browser/history/history_backend.h" |
| 16 #include "chrome/browser/history/history_database.h" | 16 #include "chrome/browser/history/history_database.h" |
| 17 #include "chrome/browser/history/thumbnail_database.h" | 17 #include "chrome/browser/history/thumbnail_database.h" |
| 18 #include "components/history/core/browser/history_client.h" | 18 #include "components/history/core/browser/history_client.h" |
| 19 #include "components/history/core/browser/keyword_search_term.h" | 19 #include "components/history/core/browser/keyword_search_term.h" |
| 20 #include "content/public/common/page_transition_types.h" | |
| 21 #include "sql/connection.h" | 20 #include "sql/connection.h" |
| 22 | 21 |
| 23 | 22 |
| 24 namespace history { | 23 namespace history { |
| 25 | 24 |
| 26 | 25 |
| 27 // Helpers -------------------------------------------------------------------- | 26 // Helpers -------------------------------------------------------------------- |
| 28 | 27 |
| 29 namespace { | 28 namespace { |
| 30 | 29 |
| (...skipping 1183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1214 return false; | 1213 return false; |
| 1215 | 1214 |
| 1216 if (!history_db_->SetKeywordSearchTermsForURL(bookmark_row.url_id(), | 1215 if (!history_db_->SetKeywordSearchTermsForURL(bookmark_row.url_id(), |
| 1217 values.keyword_id(), values.search_term())) | 1216 values.keyword_id(), values.search_term())) |
| 1218 return false; | 1217 return false; |
| 1219 } | 1218 } |
| 1220 return true; | 1219 return true; |
| 1221 } | 1220 } |
| 1222 | 1221 |
| 1223 } // namespace history | 1222 } // namespace history |
| OLD | NEW |