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/favicon/favicon_changed_details.h" | 9 #include "chrome/browser/favicon/favicon_changed_details.h" |
10 #include "chrome/browser/history/android/android_time.h" | 10 #include "chrome/browser/history/android/android_time.h" |
11 #include "chrome/browser/history/android/android_urls_sql_handler.h" | 11 #include "chrome/browser/history/android/android_urls_sql_handler.h" |
12 #include "chrome/browser/history/android/bookmark_model_sql_handler.h" | 12 #include "chrome/browser/history/android/bookmark_model_sql_handler.h" |
13 #include "chrome/browser/history/android/favicon_sql_handler.h" | 13 #include "chrome/browser/history/android/favicon_sql_handler.h" |
14 #include "chrome/browser/history/android/urls_sql_handler.h" | 14 #include "chrome/browser/history/android/urls_sql_handler.h" |
15 #include "chrome/browser/history/android/visit_sql_handler.h" | 15 #include "chrome/browser/history/android/visit_sql_handler.h" |
16 #include "chrome/browser/history/history_backend.h" | 16 #include "chrome/browser/history/history_backend.h" |
17 #include "chrome/browser/history/history_database.h" | 17 #include "chrome/browser/history/history_database.h" |
18 #include "chrome/browser/history/thumbnail_database.h" | 18 #include "chrome/browser/history/thumbnail_database.h" |
19 #include "components/bookmarks/core/browser/bookmark_service.h" | 19 #include "components/bookmarks/browser/bookmark_service.h" |
20 #include "content/public/common/page_transition_types.h" | 20 #include "content/public/common/page_transition_types.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 |
29 namespace { | 29 namespace { |
(...skipping 1191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1221 return false; | 1221 return false; |
1222 | 1222 |
1223 if (!history_db_->SetKeywordSearchTermsForURL(bookmark_row.url_id(), | 1223 if (!history_db_->SetKeywordSearchTermsForURL(bookmark_row.url_id(), |
1224 values.template_url_id(), values.search_term())) | 1224 values.template_url_id(), values.search_term())) |
1225 return false; | 1225 return false; |
1226 } | 1226 } |
1227 return true; | 1227 return true; |
1228 } | 1228 } |
1229 | 1229 |
1230 } // namespace history | 1230 } // namespace history |
OLD | NEW |