Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(335)

Side by Side Diff: chrome/browser/history/android/android_provider_backend.cc

Issue 10868039: Promote BookmarkService to a public API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync. Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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/bookmarks/bookmark_service.h" 8 #include "chrome/browser/api/bookmarks/bookmark_service.h"
9 #include "chrome/common/chrome_notification_types.h"
10 #include "chrome/browser/history/android/android_time.h" 9 #include "chrome/browser/history/android/android_time.h"
11 #include "chrome/browser/history/android/android_urls_sql_handler.h" 10 #include "chrome/browser/history/android/android_urls_sql_handler.h"
12 #include "chrome/browser/history/android/bookmark_model_sql_handler.h" 11 #include "chrome/browser/history/android/bookmark_model_sql_handler.h"
13 #include "chrome/browser/history/android/favicon_sql_handler.h" 12 #include "chrome/browser/history/android/favicon_sql_handler.h"
14 #include "chrome/browser/history/android/urls_sql_handler.h" 13 #include "chrome/browser/history/android/urls_sql_handler.h"
15 #include "chrome/browser/history/android/visit_sql_handler.h" 14 #include "chrome/browser/history/android/visit_sql_handler.h"
16 #include "chrome/browser/history/history_backend.h" 15 #include "chrome/browser/history/history_backend.h"
17 #include "chrome/browser/history/history_database.h" 16 #include "chrome/browser/history/history_database.h"
18 #include "chrome/browser/history/thumbnail_database.h" 17 #include "chrome/browser/history/thumbnail_database.h"
18 #include "chrome/common/chrome_notification_types.h"
19 #include "content/public/common/page_transition_types.h" 19 #include "content/public/common/page_transition_types.h"
20 #include "sql/connection.h" 20 #include "sql/connection.h"
21 21
22 using base::Time; 22 using base::Time;
23 using base::TimeDelta; 23 using base::TimeDelta;
24 24
25 namespace history { 25 namespace history {
26 26
27 namespace { 27 namespace {
28 28
(...skipping 1135 matching lines...) Expand 10 before | Expand all | Expand 10 after
1164 return false; 1164 return false;
1165 1165
1166 if (!history_db_->SetKeywordSearchTermsForURL(bookmark_row.url_id(), 1166 if (!history_db_->SetKeywordSearchTermsForURL(bookmark_row.url_id(),
1167 values.template_url_id(), values.search_term())) 1167 values.template_url_id(), values.search_term()))
1168 return false; 1168 return false;
1169 } 1169 }
1170 return true; 1170 return true;
1171 } 1171 }
1172 1172
1173 } // namespace history 1173 } // namespace history
OLDNEW
« no previous file with comments | « chrome/browser/history/DEPS ('k') | chrome/browser/history/android/android_provider_backend_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698