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

Issue 6211002: Don't create a WebDataService in AutoFillManagerTest tests, since that object... (Closed)

Created:
9 years, 11 months ago by jam
Modified:
9 years, 7 months ago
CC:
chromium-reviews, Ilya Sherman, dhollowa, James Hawkins, Paweł Hajdan Jr.
Visibility:
Public.

Description

Don't create a WebDataService in AutoFillManagerTest tests, since that object is hard to clean up correctly in unit tests because of all the PostTasking it does. Just make AutoCompleteHistoryManager handle a null WebDataService. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=70955

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -8 lines) Patch
M chrome/browser/autocomplete_history_manager.cc View 3 chunks +9 lines, -5 lines 0 comments Download
M chrome/browser/autofill/autofill_manager_unittest.cc View 1 chunk +0 lines, -3 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
jam
9 years, 11 months ago (2011-01-10 22:11:45 UTC) #1
jochen (gone - plz use gerrit)
9 years, 11 months ago (2011-01-10 22:15:34 UTC) #2
LGTM, thanks for looking into this!

Powered by Google App Engine
This is Rietveld 408576698