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

Issue 14503010: Implement WebViewDatabase's hasFormData API for chromium based webview. (Closed)

Created:
7 years, 8 months ago by sgurun-gerrit only
Modified:
7 years, 7 months ago
CC:
chromium-reviews, Raman Kakilate, benquan, dhollowa+watch_chromium.org, ahutter, browser-components-watch_chromium.org, dbeam+watch-autofill_chromium.org, Dane Wallinga, dyu1, estade+watch_chromium.org, Albert Bodenhamer, Ilya Sherman, android-webview-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Implement WebViewDatabase's hasFormData API for chromium based webview. BUG=b/6234236 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=198919

Patch Set 1 #

Patch Set 2 : rebased #

Patch Set 3 : fix typos #

Total comments: 16

Patch Set 4 : addressed Ilya's comment #

Patch Set 5 : address Ben's comments #

Patch Set 6 : added a unit test #

Patch Set 7 : rebased and fixed conflicts #

Patch Set 8 : fix dep #

Total comments: 25

Patch Set 9 : address ben's code review #

Total comments: 6

Patch Set 10 : address new code review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+349 lines, -17 lines) Patch
M android_webview/android_webview.gyp View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M android_webview/android_webview_tests.gypi View 1 2 3 4 5 2 chunks +3 lines, -0 lines 0 comments Download
M android_webview/browser/DEPS View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M android_webview/browser/aw_browser_context.h View 3 chunks +5 lines, -1 line 0 comments Download
M android_webview/browser/aw_browser_context.cc View 2 chunks +11 lines, -0 lines 0 comments Download
A android_webview/browser/aw_form_database_service.h View 1 2 3 4 5 6 7 8 1 chunk +63 lines, -0 lines 0 comments Download
A android_webview/browser/aw_form_database_service.cc View 1 2 3 4 5 6 7 8 9 1 chunk +105 lines, -0 lines 0 comments Download
A android_webview/browser/aw_form_database_service_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +73 lines, -0 lines 0 comments Download
M android_webview/java/src/org/chromium/android_webview/AwFormDatabase.java View 1 2 chunks +6 lines, -0 lines 0 comments Download
M android_webview/native/android_webview_jni_registrar.cc View 1 2 3 4 5 6 2 chunks +2 lines, -0 lines 0 comments Download
M android_webview/native/aw_form_database.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M android_webview/native/aw_form_database.cc View 1 2 3 4 5 6 7 8 9 1 chunk +33 lines, -15 lines 0 comments Download
M android_webview/native/webview_native.gyp View 1 1 chunk +1 line, -0 lines 0 comments Download
M components/autofill/browser/webdata/autofill_table.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M components/autofill/browser/webdata/autofill_table.cc View 1 2 3 1 chunk +10 lines, -0 lines 0 comments Download
M components/autofill/browser/webdata/autofill_table_unittest.cc View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M components/autofill/browser/webdata/autofill_webdata.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M components/autofill/browser/webdata/autofill_webdata_backend.h View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M components/autofill/browser/webdata/autofill_webdata_backend.cc View 1 2 3 4 5 6 1 chunk +8 lines, -0 lines 0 comments Download
M components/autofill/browser/webdata/autofill_webdata_service.h View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M components/autofill/browser/webdata/autofill_webdata_service.cc View 1 2 3 4 5 6 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
sgurun-gerrit only
Hey Ben, this is a very rough patch for implementing hasFormData() call. Not ready for ...
7 years, 8 months ago (2013-04-26 16:32:51 UTC) #1
sgurun-gerrit only
this also implements some missing pieces that I left out in previous https://chromiumcodereview.appspot.com/13902021/
7 years, 8 months ago (2013-04-26 16:34:38 UTC) #2
Ilya Sherman
webdata/ changes LGTM with one nit. Is there any particular reason that the corresponding bug ...
7 years, 8 months ago (2013-04-27 00:05:55 UTC) #3
joth
On 2013/04/27 00:05:55, Ilya Sherman wrote: > webdata/ changes LGTM with one nit. > > ...
7 years, 8 months ago (2013-04-27 01:02:53 UTC) #4
benm (inactive)
7 years, 7 months ago (2013-04-29 17:42:01 UTC) #5
sgurun-gerrit only
https://codereview.chromium.org/14503010/diff/8001/components/autofill/browser/webdata/autofill_table.cc File components/autofill/browser/webdata/autofill_table.cc (right): https://codereview.chromium.org/14503010/diff/8001/components/autofill/browser/webdata/autofill_table.cc#newcode472 components/autofill/browser/webdata/autofill_table.cc:472: } else { On 2013/04/27 00:05:55, Ilya Sherman wrote: ...
7 years, 7 months ago (2013-04-29 17:55:15 UTC) #6
benm (inactive)
Thanks Selim! Looks good, I think it would be quite nice to refactor the AwFormDatabase ...
7 years, 7 months ago (2013-04-29 18:00:03 UTC) #7
sgurun-gerrit only
https://codereview.chromium.org/14503010/diff/8001/android_webview/DEPS File android_webview/DEPS (right): https://codereview.chromium.org/14503010/diff/8001/android_webview/DEPS#newcode12 android_webview/DEPS:12: "+components/webdata/common", I think now they do since there are ...
7 years, 7 months ago (2013-04-29 19:32:38 UTC) #8
sgurun-gerrit only
ready for review, please take a look. thanks,
7 years, 7 months ago (2013-05-03 22:06:51 UTC) #9
benm (inactive)
https://codereview.chromium.org/14503010/diff/45001/android_webview/browser/aw_form_database_service.cc File android_webview/browser/aw_form_database_service.cc (right): https://codereview.chromium.org/14503010/diff/45001/android_webview/browser/aw_form_database_service.cc#newcode19 android_webview/browser/aw_form_database_service.cc:19: LOG(WARNING) << "initializing autocomplete database failed"; Does the caller ...
7 years, 7 months ago (2013-05-07 11:16:11 UTC) #10
sgurun-gerrit only
https://codereview.chromium.org/14503010/diff/45001/android_webview/browser/aw_form_database_service.cc File android_webview/browser/aw_form_database_service.cc (right): https://codereview.chromium.org/14503010/diff/45001/android_webview/browser/aw_form_database_service.cc#newcode19 android_webview/browser/aw_form_database_service.cc:19: LOG(WARNING) << "initializing autocomplete database failed"; On 2013/05/07 11:16:11, ...
7 years, 7 months ago (2013-05-07 18:39:01 UTC) #11
sgurun-gerrit only
https://codereview.chromium.org/14503010/diff/45001/android_webview/browser/aw_form_database_service.cc File android_webview/browser/aw_form_database_service.cc (right): https://codereview.chromium.org/14503010/diff/45001/android_webview/browser/aw_form_database_service.cc#newcode43 android_webview/browser/aw_form_database_service.cc:43: CancelPendingQuery(); On 2013/05/07 11:16:11, benm wrote: > Shutdown() too? ...
7 years, 7 months ago (2013-05-07 18:41:59 UTC) #12
benm (inactive)
https://codereview.chromium.org/14503010/diff/45001/android_webview/browser/aw_form_database_service.h File android_webview/browser/aw_form_database_service.h (right): https://codereview.chromium.org/14503010/diff/45001/android_webview/browser/aw_form_database_service.h#newcode32 android_webview/browser/aw_form_database_service.h:32: bool HasFormElements(); That sounds good to me. https://codereview.chromium.org/14503010/diff/45001/android_webview/native/aw_form_database.cc File ...
7 years, 7 months ago (2013-05-07 19:06:53 UTC) #13
sgurun-gerrit only
https://codereview.chromium.org/14503010/diff/56001/android_webview/browser/aw_form_database_service.cc File android_webview/browser/aw_form_database_service.cc (right): https://codereview.chromium.org/14503010/diff/56001/android_webview/browser/aw_form_database_service.cc#newcode44 android_webview/browser/aw_form_database_service.cc:44: CancelPendingQuery(); On 2013/05/07 19:06:55, benm wrote: > These should ...
7 years, 7 months ago (2013-05-07 19:56:09 UTC) #14
benm (inactive)
lgtm lgtm, thanks selim!
7 years, 7 months ago (2013-05-07 20:08:43 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sgurun@chromium.org/14503010/62001
7 years, 7 months ago (2013-05-07 20:30:12 UTC) #16
sgurun-gerrit only
committing, thanks guys for the great review.
7 years, 7 months ago (2013-05-07 20:35:35 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sgurun@chromium.org/14503010/62001
7 years, 7 months ago (2013-05-08 15:30:35 UTC) #18
commit-bot: I haz the power
7 years, 7 months ago (2013-05-08 16:16:38 UTC) #19
Message was sent while issue was closed.
Change committed as 198919

Powered by Google App Engine
This is Rietveld 408576698