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

Issue 9549031: The implementation of AndroidCacheDatabase. (Closed)

Created:
8 years, 9 months ago by michaelbai
Modified:
8 years, 9 months ago
Reviewers:
brettw, sky
CC:
chromium-reviews, brettw-cc_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

The implementation of AndroidCacheDatabase. It is used to support the Android Bookmark Provider; It caches the favicon id, visit time, created time, bookmark information from thumbnail database, url database and BookmarkModel. The database is created in first access of AndroidProviderBackend, and deleted after history backend shutdown, synced before AndroidProviderBackend's Query, Insert, Update or Delete method called. BUG= TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=124811

Patch Set 1 #

Patch Set 2 : a small change of a method parameter #

Total comments: 37

Patch Set 3 : Address the comments #

Patch Set 4 : Added comment in CreateBookmarkCacheTable #

Patch Set 5 : Sync and remove the #

Unified diffs Side-by-side diffs Delta from patch set Stats (+344 lines, -0 lines) Patch
A chrome/browser/history/android/android_cache_database.h View 1 2 3 4 1 chunk +87 lines, -0 lines 0 comments Download
A chrome/browser/history/android/android_cache_database.cc View 1 2 3 4 1 chunk +195 lines, -0 lines 0 comments Download
A chrome/browser/history/android/android_cache_database_unittest.cc View 1 2 1 chunk +62 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
michaelbai
Please review it
8 years, 9 months ago (2012-03-01 04:43:59 UTC) #1
sky
http://codereview.chromium.org/9549031/diff/2001/chrome/browser/history/android/android_cache_database.cc File chrome/browser/history/android/android_cache_database.cc (right): http://codereview.chromium.org/9549031/diff/2001/chrome/browser/history/android/android_cache_database.cc#newcode24 chrome/browser/history/android/android_cache_database.cc:24: AndroidCacheDatabase::AndroidCacheDatabase() { You should either initialize db_attached_, or nuke ...
8 years, 9 months ago (2012-03-02 15:59:50 UTC) #2
michaelbai
PTAL http://codereview.chromium.org/9549031/diff/2001/chrome/browser/history/android/android_cache_database.cc File chrome/browser/history/android/android_cache_database.cc (right): http://codereview.chromium.org/9549031/diff/2001/chrome/browser/history/android/android_cache_database.cc#newcode24 chrome/browser/history/android/android_cache_database.cc:24: AndroidCacheDatabase::AndroidCacheDatabase() { That needs nuked, thanks On 2012/03/02 ...
8 years, 9 months ago (2012-03-02 20:04:43 UTC) #3
sky
http://codereview.chromium.org/9549031/diff/2001/chrome/browser/history/android/android_cache_database.cc File chrome/browser/history/android/android_cache_database.cc (right): http://codereview.chromium.org/9549031/diff/2001/chrome/browser/history/android/android_cache_database.cc#newcode55 chrome/browser/history/android/android_cache_database.cc:55: statement.BindInt64(0, ToMilliseconds(created_time)); On 2012/03/02 20:04:43, michaelbai wrote: > It ...
8 years, 9 months ago (2012-03-02 20:51:28 UTC) #4
michaelbai
http://codereview.chromium.org/9549031/diff/2001/chrome/browser/history/android/android_cache_database.cc File chrome/browser/history/android/android_cache_database.cc (right): http://codereview.chromium.org/9549031/diff/2001/chrome/browser/history/android/android_cache_database.cc#newcode55 chrome/browser/history/android/android_cache_database.cc:55: statement.BindInt64(0, ToMilliseconds(created_time)); I can't, as the client could just ...
8 years, 9 months ago (2012-03-02 21:16:14 UTC) #5
michaelbai
PTAL
8 years, 9 months ago (2012-03-02 21:16:43 UTC) #6
sky
LGTM
8 years, 9 months ago (2012-03-02 22:56:23 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/michaelbai@chromium.org/9549031/11004
8 years, 9 months ago (2012-03-02 23:05:48 UTC) #8
commit-bot: I haz the power
8 years, 9 months ago (2012-03-03 01:34:27 UTC) #9
Change committed as 124811

Powered by Google App Engine
This is Rietveld 408576698