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

Unified Diff: chrome/browser/history/android/android_provider_backend.h

Issue 10825214: AndroidProvider: Add history for bookmarks if it doesn't exist. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/history/android/android_provider_backend.h
diff --git a/chrome/browser/history/android/android_provider_backend.h b/chrome/browser/history/android/android_provider_backend.h
index 72e0c5ac1766c7436a4ec5103588c3198c8a8174..2f12223e0d9eaa80b8589ec7e2249f32f4c2bdea 100644
--- a/chrome/browser/history/android/android_provider_backend.h
+++ b/chrome/browser/history/android/android_provider_backend.h
@@ -207,8 +207,11 @@ class AndroidProviderBackend {
// Inserts the given values and returns the URLID of the inserted row.
// The notifications are returned in |notifications| and the ownership of them
// is transfered to caller.
+ // The tables will no be updated before the insertion if the |update_tables|
sky 2012/08/07 18:31:43 Can you make this more explicit, eg: rename update
michaelbai 2012/08/07 19:21:32 Done.
+ // is false.
AndroidURLID InsertHistoryAndBookmark(const HistoryAndBookmarkRow& values,
- HistoryNotifications* notifications);
+ HistoryNotifications* notifications,
+ bool update_tables);
// Deletes the specified rows and returns the number of the deleted rows in
// |deleted_count|.

Powered by Google App Engine
This is Rietveld 408576698