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

Issue 10533143: Revert 142048 - Move thread checking from autofill_country.cc to browser_process_impl.cc (Closed)

Created:
8 years, 6 months ago by mrossetti
Modified:
8 years, 6 months ago
Reviewers:
Xianzhu
CC:
chromium-reviews, dhollowa+watch_chromium.org, Ilya Sherman, dyu1
Visibility:
Public.

Description

Revert 142048 - Move thread checking from autofill_country.cc to browser_process_impl.cc DCHECK(CalledOnValidThread()) is better than BrowserThread::CurrentlyOn(...) because it automatically supports unit test without requiring setting up specific threads. BUG=132643 TEST=Run Autofill tests in debug build Review URL: https://chromiumcodereview.appspot.com/10545169 TBR=wangxianzhu@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=142066

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -8 lines) Patch
M chrome/browser/autofill/address_unittest.cc View 5 chunks +18 lines, -5 lines 0 comments Download
M chrome/browser/autofill/autofill_country.cc View 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/browser_process_impl.cc View 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 1 (0 generated)
mrossetti
8 years, 6 months ago (2012-06-14 01:56:14 UTC) #1

          

Powered by Google App Engine
This is Rietveld 408576698