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

Issue 2745803003: autofill-try

Created:
3 years, 9 months ago by michaelbai
Modified:
3 years, 6 months ago
Reviewers:
svetoslavganov
CC:
chromium-reviews, jam, vabr+watchlistpasswordmanager_chromium.org, rouslan+autofill_chromium.org, rogerm+autofillwatch_chromium.org, sebsg+autofillwatch_chromium.org, browser-components-watch_chromium.org, mathp+autofillwatch_chromium.org, darin-cc_chromium.org, agrieve+watch_chromium.org, vabr+watchlistautofill_chromium.org, estade+watch_chromium.org, gcasto+watchlist_chromium.org, android-webview-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

autofill-try BUG=

Patch Set 1 #

Patch Set 2 : autofill-try #

Patch Set 3 : autofill-try #

Patch Set 4 : autofill-try #

Patch Set 5 : add password manager #

Patch Set 6 : before I leave #

Total comments: 1

Patch Set 7 : autofill-try #

Patch Set 8 : autofill-try #

Patch Set 9 : moving files #

Patch Set 10 : ready for review #

Patch Set 11 : WebView autofill implementation #

Patch Set 12 : WebView autofill implementation #

Patch Set 13 : WebView autofill implementation #

Patch Set 14 : WebView autofill implementation #

Patch Set 15 : WebView autofill implementation #

Patch Set 16 : WebView autofill implementation #

Patch Set 17 : WebView autofill implementation #

Patch Set 18 : refactorying #

Patch Set 19 : autofill-try #

Patch Set 20 : autofill-try #

Patch Set 21 : autofill-try #

Patch Set 22 : autofill-try #

Patch Set 23 : autofill-try #

Patch Set 24 : autofill-try #

Patch Set 25 : autofill-try #

Patch Set 26 : autofill-try #

Patch Set 27 : autofill-try #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1463 lines, -148 lines) Patch
M android_webview/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +1 line, -0 lines 0 comments Download
M android_webview/browser/DEPS View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M android_webview/browser/aw_contents.h View 1 2 3 4 5 6 7 8 9 10 5 chunks +11 lines, -3 lines 0 comments Download
M android_webview/browser/aw_contents.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 5 chunks +28 lines, -6 lines 0 comments Download
M android_webview/glue/glue.gni View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M android_webview/glue/java/DEPS View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -0 lines 0 comments Download
M android_webview/glue/java/src/com/android/webview/chromium/WebViewChromium.java View 1 2 3 4 5 6 7 8 9 4 chunks +11 lines, -3 lines 0 comments Download
M android_webview/glue/java/src/com/android/webview/chromium/WebViewChromiumFactoryProvider.java View 1 2 3 4 5 6 7 8 9 10 3 chunks +6 lines, -0 lines 0 comments Download
M android_webview/java/src/org/chromium/android_webview/AwContents.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 9 chunks +27 lines, -4 lines 0 comments Download
M chrome/browser/autofill/content_autofill_driver_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +5 lines, -5 lines 0 comments Download
M components/autofill/android/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 2 chunks +29 lines, -0 lines 0 comments Download
A + components/autofill/android/DEPS View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -2 lines 0 comments Download
A components/autofill/android/autofill_provider_android.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 1 chunk +70 lines, -0 lines 0 comments Download
A components/autofill/android/autofill_provider_android.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 1 chunk +196 lines, -0 lines 0 comments Download
A components/autofill/android/form_data_android.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 1 chunk +63 lines, -0 lines 0 comments Download
A components/autofill/android/form_data_android.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +102 lines, -0 lines 0 comments Download
A components/autofill/android/form_field_data_android.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 1 chunk +35 lines, -0 lines 0 comments Download
A components/autofill/android/form_field_data_android.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 1 chunk +76 lines, -0 lines 0 comments Download
A components/autofill/android/java/src/org/chromium/components/autofill/AutofillProvider.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 1 chunk +120 lines, -0 lines 0 comments Download
A components/autofill/android/java/src/org/chromium/components/autofill/FormData.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 1 chunk +52 lines, -0 lines 0 comments Download
A components/autofill/android/java/src/org/chromium/components/autofill/FormFieldData.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 1 chunk +57 lines, -0 lines 0 comments Download
M components/autofill/content/browser/content_autofill_driver.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 4 chunks +13 lines, -6 lines 0 comments Download
M components/autofill/content/browser/content_autofill_driver.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 5 chunks +33 lines, -22 lines 0 comments Download
M components/autofill/content/browser/content_autofill_driver_factory.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +12 lines, -1 line 0 comments Download
M components/autofill/content/browser/content_autofill_driver_factory.cc View 1 2 3 4 5 6 7 8 9 10 4 chunks +19 lines, -6 lines 0 comments Download
M components/autofill/content/browser/content_autofill_driver_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +5 lines, -1 line 0 comments Download
M components/autofill/core/browser/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 2 chunks +6 lines, -0 lines 0 comments Download
A components/autofill/core/browser/autofill_handler.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 1 chunk +126 lines, -0 lines 0 comments Download
A components/autofill/core/browser/autofill_handler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 1 chunk +55 lines, -0 lines 0 comments Download
A components/autofill/core/browser/autofill_handler_proxy.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 1 chunk +66 lines, -0 lines 0 comments Download
A components/autofill/core/browser/autofill_handler_proxy.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 1 chunk +71 lines, -0 lines 0 comments Download
M components/autofill/core/browser/autofill_manager.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 7 chunks +26 lines, -46 lines 0 comments Download
M components/autofill/core/browser/autofill_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 20 chunks +31 lines, -43 lines 0 comments Download
A components/autofill/core/browser/autofill_provider.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 1 chunk +55 lines, -0 lines 0 comments Download
A components/autofill/core/browser/autofill_provider.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +22 lines, -0 lines 0 comments Download
M components/autofill/core/common/form_data.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +4 lines, -0 lines 0 comments Download
M components/autofill/core/common/form_data.cc View 1 2 3 4 5 6 7 8 1 chunk +13 lines, -0 lines 0 comments Download
M components/autofill/core/common/form_field_data.h View 1 2 3 4 5 6 7 8 9 1 chunk +7 lines, -0 lines 0 comments Download
M components/autofill/core/common/form_field_data.cc View 1 2 3 4 5 6 7 8 9 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 73 (72 generated)
svetoslavganov
3 years, 8 months ago (2017-04-11 22:47:17 UTC) #2
https://codereview.chromium.org/2745803003/diff/100001/android_webview/java/s...
File
android_webview/java/src/org/chromium/android_webview/AwAutofillProvider.java
(right):

https://codereview.chromium.org/2745803003/diff/100001/android_webview/java/s...
android_webview/java/src/org/chromium/android_webview/AwAutofillProvider.java:38:
public void fillViewStructure(ViewStructure structure) {
This children are not properly added which I suspect generates a malformed
assist structure leading to the crash. Should be something like this:

public void fillViewStructure(ViewStructure structure) {
    Log.e(TAG, "fillViewStructure " + mFormData.mFields.size());
    structure.setClassName(mFormData.mName);
    structure.setUrl(mFormData.mOrigin);
    final int childCount = mFormData.mFields.size();
    for (int i = 0; i < childCount; i++) {
        Filed field = mFormData.mFields.get(i);
        ViewStructure child = structure.newChild(i);
        child.setAutofillId(structure, toVirtualId(mClientId, fieldIndex++));
        // This is just for testing purpose, we should set ViewStructure
        // according new API.
        child.setAutofillValue(AutofillValue.forText(field.mName));
    }
}

Powered by Google App Engine
This is Rietveld 408576698