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

Issue 5322001: Before starting translation reset cache in AutoFillManager. To call Reset() f... (Closed)

Created:
10 years, 1 month ago by honten.org
Modified:
9 years, 7 months ago
CC:
chromium-reviews, ben+cc_chromium.org, darin-cc_chromium.org, brettw-cc_chromium.org, Paweł Hajdan Jr., James Hawkins, nkostylev+cc_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

Before starting translation reset cache in AutoFillManager. To call Reset() function, append Reset() virtual function in RenderViewHostDelegate::AutoFill and derive it from AutoFillManager. BUG=58576 TEST= 1.launch English version Chrome 2. make sure autofill is enable and there is autofill data entry in settings 3.navigate to a non-English website e.g.: https://secure.fnac.pt/Account/Logon/LogonNewAccount.aspx?NID=-15&RNID=-15&PrevNID=0&pagepar=SID%3d22120814-4186-d926-4f7b-0dece96fade2|Origin%3dFnacAff|OrderInSession%3d1|TTL%3d070420110015|bl%3dHGAChead&PageRedir=https://www2.fnac.pt/Account/Profil/default.asp&PageAuth=yes&LogonType=ACCOUNT 4. when translation infobar show up, click "Translate" to translate to English 5. focus in "E-mail" field 6. press Down arrow 7. select the autofill data entry by double click on it 8. autofill data should be fill in all text boxes Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=69088 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=69199

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 4

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 6

Patch Set 5 : wrote TranslateAndFormFill test. #

Total comments: 7

Patch Set 6 : fix some style in autofill_browsertest.cc #

Total comments: 1

Patch Set 7 : Fix typo #

Total comments: 2

Patch Set 8 : roll back browsertest #

Patch Set 9 : add Reset() #

Unified diffs Side-by-side diffs Delta from patch set Stats (+236 lines, -91 lines) Patch
M chrome/browser/autofill/autofill_browsertest.cc View 1 2 3 4 5 7 4 chunks +219 lines, -88 lines 0 comments Download
M chrome/browser/autofill/autofill_manager.h View 1 2 3 4 1 chunk +1 line, -3 lines 0 comments Download
M chrome/browser/chromeos/login/account_creation_view.cc View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/render_view_host.cc View 1 2 3 4 5 6 1 chunk +9 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/render_view_host_delegate.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 56 (0 generated)
honten.org
James, Thanks to your advice, I suppose I can write some fix for this bug. ...
10 years, 1 month ago (2010-11-23 05:55:36 UTC) #1
James Hawkins
On 2010/11/23 05:55:36, honten wrote: > James, > > Thanks to your advice, I suppose ...
10 years, 1 month ago (2010-11-23 19:13:58 UTC) #2
James Hawkins
http://codereview.chromium.org/5322001/diff/5001/chrome/browser/autofill/autofill_manager.h File chrome/browser/autofill/autofill_manager.h (right): http://codereview.chromium.org/5322001/diff/5001/chrome/browser/autofill/autofill_manager.h#newcode65 chrome/browser/autofill/autofill_manager.h:65: // This methodo is one of RenderViewHostDelegate::AutoFill implementation. Please ...
10 years, 1 month ago (2010-11-23 19:18:52 UTC) #3
honten.org
James, Thank you for your review. Could you give me your thought about the comment? ...
10 years, 1 month ago (2010-11-23 19:32:19 UTC) #4
James Hawkins
http://codereview.chromium.org/5322001/diff/5001/chrome/browser/renderer_host/render_view_host.cc File chrome/browser/renderer_host/render_view_host.cc (right): http://codereview.chromium.org/5322001/diff/5001/chrome/browser/renderer_host/render_view_host.cc#newcode2006 chrome/browser/renderer_host/render_view_host.cc:2006: // Before start translation, reset cache in AutoFillManager first. ...
10 years, 1 month ago (2010-11-23 19:35:33 UTC) #5
honten.org
Ok, Thanks!! On 2010/11/23 19:35:33, James Hawkins wrote: > http://codereview.chromium.org/5322001/diff/5001/chrome/browser/renderer_host/render_view_host.cc > File chrome/browser/renderer_host/render_view_host.cc (right): > ...
10 years, 1 month ago (2010-11-23 19:40:02 UTC) #6
honten.org
James, I cannot find any RnderViewHost unit test in the source code. Instead of that, ...
10 years, 1 month ago (2010-11-23 21:16:58 UTC) #7
James Hawkins
On 2010/11/23 21:16:58, honten wrote: > James, > > I cannot find any RnderViewHost unit ...
10 years, 1 month ago (2010-11-23 21:22:39 UTC) #8
takano.naoki_gmail.com
James, I mean "you're satisfied with functional test only, not writing unit test." Last time ...
10 years, 1 month ago (2010-11-23 21:27:10 UTC) #9
James Hawkins
On 2010/11/23 21:27:10, takano.naoki_gmail.com wrote: > James, > > I mean "you're satisfied with functional ...
10 years, 1 month ago (2010-11-23 21:31:39 UTC) #10
takano.naoki_gmail.com
Ok, I try. Thanks!! On Tue, Nov 23, 2010 at 1:31 PM, <jhawkins@chromium.org> wrote: > ...
10 years, 1 month ago (2010-11-23 21:33:24 UTC) #11
takano.naoki_gmail.com
James, Ilya I'm trying to write test code, but I have a couple of questions.. ...
10 years ago (2010-11-25 06:41:19 UTC) #12
dhollowa
autofill_browsertest.cc may provide some insight. You may be able to take the AutoFillTest.BasicFormFill test and ...
10 years ago (2010-11-29 17:32:22 UTC) #13
takano.naoki_gmail.com
Thank you for you suggestion!! I'll try it. On Mon, Nov 29, 2010 at 9:32 ...
10 years ago (2010-11-29 19:00:31 UTC) #14
honten.org
I tried to add translate trigger. It looks triggered but fails due to network error. ...
10 years ago (2010-11-30 07:10:38 UTC) #15
James Hawkins
Mock the translation process? On Mon, Nov 29, 2010 at 11:10 PM, <Takano.Naoki@gmail.com> wrote: > ...
10 years ago (2010-11-30 18:55:51 UTC) #16
takano.naoki_gmail.com
Yes, And the Translate Tool Bar shows the network error. On Tue, Nov 30, 2010 ...
10 years ago (2010-11-30 19:15:55 UTC) #17
James Hawkins
I don't understand your reply. I'm suggesting you mock out the translate process so it ...
10 years ago (2010-11-30 19:34:02 UTC) #18
takano.naoki_gmail.com
Sorry for misunderstanding. I see. I'll try it. On Tue, Nov 30, 2010 at 11:33 ...
10 years ago (2010-11-30 20:13:20 UTC) #19
honten.org
James, Finally I wrote test code, but still have a couple of questions and have ...
10 years ago (2010-12-05 01:34:34 UTC) #20
James Hawkins
http://codereview.chromium.org/5322001/diff/29001/chrome/browser/autofill/autofill_browsertest.cc File chrome/browser/autofill/autofill_browsertest.cc (right): http://codereview.chromium.org/5322001/diff/29001/chrome/browser/autofill/autofill_browsertest.cc#newcode139 chrome/browser/autofill/autofill_browsertest.cc:139: On 2010/12/05 01:34:34, honten wrote: > Is this Ok ...
10 years ago (2010-12-06 19:02:05 UTC) #21
takano.naoki_gmail.com
James, Thank you for your comment. I'm relieved the direction looks right. But still I'm ...
10 years ago (2010-12-06 19:34:30 UTC) #22
takano.naoki_gmail.com
I added jcampan. Sorry for bothering you, jcampan. As I wrote in this thread, when ...
10 years ago (2010-12-06 19:47:28 UTC) #23
jcivelli
[side note to avoid confusion, I recently changed my name, my new ldap is jcivelli, ...
10 years ago (2010-12-06 22:03:55 UTC) #24
takano.naoki_gmail.com
Jay, Thank you for your reply. I'll try it tonight. Thanks a lot!! On Mon, ...
10 years ago (2010-12-06 22:15:06 UTC) #25
honten.org
Jay, Thanks to your advice, I resolved the javascript execution problem. But after that, still ...
10 years ago (2010-12-07 05:29:43 UTC) #26
honten.org
Jay, I guess focus() javascript call looks fail before the 'M' key press simulation. ui_test_utils::ExecuteJavaScriptAndExtractBool ...
10 years ago (2010-12-07 07:05:15 UTC) #27
honten.org
Jay, Sorry for bothering you again, but finally I figure it out!! The problem is ...
10 years ago (2010-12-07 07:22:59 UTC) #28
honten.org
James, dhollowa, jcivelli Could you review my change? Thanks, On 2010/12/07 07:22:59, honten wrote: > ...
10 years ago (2010-12-08 04:59:25 UTC) #29
dhollowa
http://codereview.chromium.org/5322001/diff/45001/chrome/browser/autofill/autofill_browsertest.cc File chrome/browser/autofill/autofill_browsertest.cc (right): http://codereview.chromium.org/5322001/diff/45001/chrome/browser/autofill/autofill_browsertest.cc#newcode24 chrome/browser/autofill/autofill_browsertest.cc:24: #include "chrome/browser/renderer_host/render_view_host.h" This needs to be moved up. http://codereview.chromium.org/5322001/diff/45001/chrome/browser/autofill/autofill_browsertest.cc#newcode33 ...
10 years ago (2010-12-08 17:33:41 UTC) #30
honten.org
dhollowa, Thank you for your response. But I have a question. Could you tell me? ...
10 years ago (2010-12-08 17:58:20 UTC) #31
dhollowa
http://codereview.chromium.org/5322001/diff/45001/chrome/chrome_tests.gypi File chrome/chrome_tests.gypi (right): http://codereview.chromium.org/5322001/diff/45001/chrome/chrome_tests.gypi#newcode317 chrome/chrome_tests.gypi:317: 'common/net/test_url_fetcher_factory.cc', Got it, ok. No problem then. On 2010/12/08 ...
10 years ago (2010-12-08 18:21:33 UTC) #32
honten.org
dhollowa, Could you review again? Thanks, On 2010/12/08 18:21:33, dhollowa wrote: > http://codereview.chromium.org/5322001/diff/45001/chrome/chrome_tests.gypi > File ...
10 years ago (2010-12-09 17:43:38 UTC) #33
James Hawkins
LGTM http://codereview.chromium.org/5322001/diff/54001/chrome/browser/renderer_host/render_view_host.cc File chrome/browser/renderer_host/render_view_host.cc (right): http://codereview.chromium.org/5322001/diff/54001/chrome/browser/renderer_host/render_view_host.cc#newcode2019 chrome/browser/renderer_host/render_view_host.cc:2019: // current form and re-parse it in AutoFillManter ...
10 years ago (2010-12-09 18:43:16 UTC) #34
takano.naoki_gmail.com
Thank you for finding typo;-) On Thu, Dec 9, 2010 at 10:43 AM, <jhawkins@chromium.org> wrote: ...
10 years ago (2010-12-09 18:48:50 UTC) #35
honten.org
I fix it, please review it. On 2010/12/09 18:48:50, takano.naoki_gmail.com wrote: > Thank you for ...
10 years ago (2010-12-10 17:55:39 UTC) #36
dhollowa
http://codereview.chromium.org/5322001/diff/60001/chrome/browser/autofill/autofill_browsertest.cc File chrome/browser/autofill/autofill_browsertest.cc (right): http://codereview.chromium.org/5322001/diff/60001/chrome/browser/autofill/autofill_browsertest.cc#newcode24 chrome/browser/autofill/autofill_browsertest.cc:24: #include "chrome/browser/renderer_host/render_view_host.h" It looks like these previous fixes got ...
10 years ago (2010-12-10 18:56:49 UTC) #37
honten.org
I'll fix it tonight. Sorry for bothering you... http://codereview.chromium.org/5322001/diff/60001/chrome/browser/autofill/autofill_browsertest.cc File chrome/browser/autofill/autofill_browsertest.cc (right): http://codereview.chromium.org/5322001/diff/60001/chrome/browser/autofill/autofill_browsertest.cc#newcode24 chrome/browser/autofill/autofill_browsertest.cc:24: #include ...
10 years ago (2010-12-10 19:40:02 UTC) #38
honten.org
Please review it. Thanks, On 2010/12/10 19:40:02, honten wrote: > I'll fix it tonight. > ...
10 years ago (2010-12-13 19:40:23 UTC) #39
dhollowa
LGTM, thanks!
10 years ago (2010-12-13 20:45:49 UTC) #40
takano.naoki_gmail.com
dhollowa, Could you commit it? On Mon, Dec 13, 2010 at 12:45 PM, <dhollowa@chromium.org> wrote: ...
10 years ago (2010-12-13 21:07:03 UTC) #41
dhollowa
Sure. Did you run it through the try bots? On 2010/12/13 21:07:03, takano.naoki_gmail.com wrote: > ...
10 years ago (2010-12-13 21:51:22 UTC) #42
takano.naoki_gmail.com
No, As you know, I don't have commit permission, so I suppose I cannot try ...
10 years ago (2010-12-13 22:05:44 UTC) #43
dhollowa
Ok, I can do it. On 2010/12/13 22:05:44, takano.naoki_gmail.com wrote: > No, > > As ...
10 years ago (2010-12-13 22:07:59 UTC) #44
dhollowa
Passed try bots. Committing.
10 years ago (2010-12-14 00:55:06 UTC) #45
dhollowa
On 2010/12/14 00:55:06, dhollowa wrote: > Passed try bots. Committing. Had to revert due to ...
10 years ago (2010-12-14 01:31:21 UTC) #46
honten.org
Ok... How should I treat this? Can I make Chrome OS on Linux env? On ...
10 years ago (2010-12-14 01:33:26 UTC) #47
dhollowa
Your best bet is to make the fix and then use the try bots to ...
10 years ago (2010-12-14 01:45:19 UTC) #48
takano.naoki_gmail.com
I see, But as you know, I cannot run try bots. Could you try it ...
10 years ago (2010-12-14 01:48:53 UTC) #49
dhollowa
Yes, that's fine. On 2010/12/14 01:48:53, takano.naoki_gmail.com wrote: > I see, > > But as ...
10 years ago (2010-12-14 01:52:47 UTC) #50
takano.naoki_gmail.com
Now, I'm looking into AccountCreationTabContents.cpp and I guess I just add empty method implementation... Anyway ...
10 years ago (2010-12-14 01:56:35 UTC) #51
honten.org
Uploaded. Could you review it? Thanks, On 2010/12/14 01:56:35, takano.naoki_gmail.com wrote: > Now, I'm looking ...
10 years ago (2010-12-14 03:36:17 UTC) #52
honten.org
Just in case, I want to make sure you committed. Did you commit my change? ...
10 years ago (2010-12-15 06:45:04 UTC) #53
dhollowa
On 2010/12/15 06:45:04, honten wrote: > Just in case, I want to make sure you ...
10 years ago (2010-12-15 22:04:12 UTC) #54
takano.naoki_gmail.com
Great!! Thanks a lot!! On Wed, Dec 15, 2010 at 2:04 PM, <dhollowa@chromium.org> wrote: > ...
10 years ago (2010-12-16 01:08:34 UTC) #55
dhollowa
10 years ago (2010-12-16 01:11:36 UTC) #56
Thank you!

On 2010/12/16 01:08:34, takano.naoki_gmail.com wrote:
> Great!!
> 
> Thanks a lot!!
> 
> On Wed, Dec 15, 2010 at 2:04 PM,  <mailto:dhollowa@chromium.org> wrote:
> > On 2010/12/15 06:45:04, honten wrote:
> >>
> >> Just in case, I want to make sure you committed.
> >
> >> Did you commit my change?
> >
> >
> > Committed. &nbsp;Yes. Revision 69199.
> >
> > http://codereview.chromium.org/5322001/
> >

Powered by Google App Engine
This is Rietveld 408576698